Class UserDefinedField<T extends DataType>
java.lang.Object
com.apple.foundationdb.relational.api.fluentsql.expression.UserDefinedField<T>
- Type Parameters:
T
- the type of the field.
- All Implemented Interfaces:
ComparableExpressionTrait<T,
,Expression<T>> Expression<T>
,Field<T>
,ScalarExpression<T>
@API(EXPERIMENTAL)
public class UserDefinedField<T extends DataType>
extends Object
implements Field<T>
This represents a user-defined field, this allows the user to explicitly set the field
name and type without resorting to any form of metadata resolution.
This could be useful for testing, and referring to qualified fields with subquery aliases for example.
This could be useful for testing, and referring to qualified fields with subquery aliases for example.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.apple.foundationdb.relational.api.fluentsql.expression.ComparableExpressionTrait
greaterThan, greaterThanOrEquals, greatest, isEqualTo, lessThan, lessThanOrEqual, notEquals
Methods inherited from interface com.apple.foundationdb.relational.api.fluentsql.expression.Field
asBoolean, asDouble, asFloat, asInt, asLong, asString
Methods inherited from interface com.apple.foundationdb.relational.api.fluentsql.expression.ScalarExpression
isNotNull, isNull
-
Constructor Details
-
UserDefinedField
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceExpression<T extends DataType>
-
getParts
-
getType
- Specified by:
getType
in interfaceComparableExpressionTrait<T extends DataType,
Expression<T extends DataType>> - Specified by:
getType
in interfaceExpression<T extends DataType>
-
getName
-
subField
-
subField
-
asBoolean
-
asInt
-
asLong
-
asFloat
-
asDouble
-
asString
-
hashCode
public int hashCode() -
equals
-
toString
-