Interface Field<T extends DataType>
- Type Parameters:
T
- The type of the field.
- All Superinterfaces:
ComparableExpressionTrait<T,
,Expression<T>> Expression<T>
,ScalarExpression<T>
- All Known Subinterfaces:
Mixins.BooleanField
,Mixins.DoubleField
,Mixins.FieldEqualityTrait<T>
,Mixins.FloatField
,Mixins.IntField
,Mixins.LongField
,Mixins.StringField
- All Known Implementing Classes:
UserDefinedField
@Immutable
public interface Field<T extends DataType>
extends ComparableExpressionTrait<T,Expression<T>>
Represents a (nested) field in a SQL table.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Mixins.BooleanField
default Mixins.BooleanField
asBoolean
(boolean isNullable) default Mixins.DoubleField
asDouble()
default Mixins.DoubleField
asDouble
(boolean isNullable) default Mixins.FloatField
asFloat()
default Mixins.FloatField
asFloat
(boolean isNullable) default Mixins.IntField
asInt()
default Mixins.IntField
asInt
(boolean isNullable) default Mixins.LongField
asLong()
default Mixins.LongField
asLong
(boolean isNullable) default Mixins.StringField
asString()
default Mixins.StringField
asString
(boolean isNullable) getName()
getParts()
Field<?>
Methods inherited from interface com.apple.foundationdb.relational.api.fluentsql.expression.ComparableExpressionTrait
getType, greaterThan, greaterThanOrEquals, greatest, isEqualTo, lessThan, lessThanOrEqual, notEquals
Methods inherited from interface com.apple.foundationdb.relational.api.fluentsql.expression.Expression
accept
Methods inherited from interface com.apple.foundationdb.relational.api.fluentsql.expression.ScalarExpression
isNotNull, isNull
-
Method Details
-
getParts
-
subField
-
getName
-
asBoolean
-
asBoolean
-
asInt
-
asInt
-
asLong
-
asLong
-
asFloat
-
asFloat
-
asDouble
-
asDouble
-
asString
-
asString
-