@@ -239,43 +239,38 @@ abstract class Expr internal constructor() {
239239 * @param value The [VectorValue] value.
240240 * @return A new [Expr] constant instance.
241241 */
242- @JvmStatic
243- fun constant (value : VectorValue ): Expr = Constant (encodeValue(value))
242+ @JvmStatic fun constant (value : VectorValue ): Expr = Constant (encodeValue(value))
244243
245244 /* *
246245 * Create a [Blob] constant from a [ByteArray].
247246 *
248247 * @param bytes The [ByteArray] to convert to a Blob.
249248 * @return A new [Expr] constant instance representing the Blob.
250249 */
251- @JvmStatic
252- fun blob (bytes : ByteArray ): Expr = constant(Blob .fromBytes(bytes))
250+ @JvmStatic fun blob (bytes : ByteArray ): Expr = constant(Blob .fromBytes(bytes))
253251
254252 /* *
255253 * Constant for a null value.
256254 *
257255 * @return A [Expr] constant instance.
258256 */
259- @JvmStatic
260- fun nullValue (): Expr = NULL
257+ @JvmStatic fun nullValue (): Expr = NULL
261258
262259 /* *
263260 * Create a vector constant for a [DoubleArray] value.
264261 *
265262 * @param vector The [VectorValue] value.
266263 * @return A [Expr] constant instance.
267264 */
268- @JvmStatic
269- fun vector (vector : DoubleArray ): Expr = Constant (Values .encodeVectorValue(vector))
265+ @JvmStatic fun vector (vector : DoubleArray ): Expr = Constant (Values .encodeVectorValue(vector))
270266
271267 /* *
272268 * Create a vector constant for a [VectorValue] value.
273269 *
274270 * @param vector The [VectorValue] value.
275271 * @return A [Expr] constant instance.
276272 */
277- @JvmStatic
278- fun vector (vector : VectorValue ): Expr = Constant (encodeValue(vector))
273+ @JvmStatic fun vector (vector : VectorValue ): Expr = Constant (encodeValue(vector))
279274
280275 /* *
281276 * Creates a [Field] instance representing the field at the given path.
@@ -305,8 +300,7 @@ abstract class Expr internal constructor() {
305300 * @param fieldPath The [FieldPath] to the field.
306301 * @return A new [Field] instance representing the specified path.
307302 */
308- @JvmStatic
309- fun field (fieldPath : FieldPath ): Field = Field (fieldPath.internalPath)
303+ @JvmStatic fun field (fieldPath : FieldPath ): Field = Field (fieldPath.internalPath)
310304
311305 @JvmStatic
312306 fun generic (name : String , vararg expr : Expr ): Expr = FunctionExpr (name, notImplemented, expr)
0 commit comments