Package tech.ydb.yoj.databind.expression
Class ScalarExpr<T>
java.lang.Object
tech.ydb.yoj.databind.expression.LeafExpression<T>
tech.ydb.yoj.databind.expression.ScalarExpr<T>
- All Implemented Interfaces:
FilterExpression<T>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface tech.ydb.yoj.databind.expression.FilterExpression
FilterExpression.Type, FilterExpression.Visitor<T,V> -
Constructor Summary
ConstructorsConstructorDescriptionScalarExpr(@NonNull Schema<T> schema, boolean generated, @NonNull ModelField field, @NonNull ScalarExpr.Operator operator, @NonNull FieldValue value) -
Method Summary
Modifier and TypeMethodDescriptionboolean<U> ScalarExpr<U>forSchema(@NonNull Schema<U> dstSchema, @NonNull UnaryOperator<String> pathTransformer) Comparable<?>getActualValue(T obj) @NonNull Comparable<?>getType()inthashCode()negate()toString()<V> Vvisit(@NonNull FilterExpression.Visitor<T, V> visitor) Methods inherited from class tech.ydb.yoj.databind.expression.LeafExpression
and, getChildren, getField, getFieldName, getFieldPath, getFieldType, isGenerated, orMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tech.ydb.yoj.databind.expression.FilterExpression
getSchema, stream
-
Constructor Details
-
ScalarExpr
public ScalarExpr(@NonNull @NonNull Schema<T> schema, boolean generated, @NonNull @NonNull ModelField field, @NonNull @NonNull ScalarExpr.Operator operator, @NonNull @NonNull FieldValue value)
-
-
Method Details
-
getType
-
getActualValue
-
getExpectedValue
-
visit
-
negate
-
forSchema
public <U> ScalarExpr<U> forSchema(@NonNull @NonNull Schema<U> dstSchema, @NonNull @NonNull UnaryOperator<String> pathTransformer) -
equals
-
hashCode
public int hashCode() -
toString
-