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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Mixins.BooleanField
asBoolean()
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)
java.lang.String
getName()
java.lang.Iterable<java.lang.String>
getParts()
Field<?>
subField(java.lang.String part)
-
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 Detail
-
getParts
@Nonnull java.lang.Iterable<java.lang.String> getParts()
-
subField
@Nonnull Field<?> subField(@Nonnull java.lang.String part)
-
getName
@Nonnull java.lang.String getName()
-
asBoolean
@Nonnull default Mixins.BooleanField asBoolean()
-
asBoolean
default Mixins.BooleanField asBoolean(boolean isNullable)
-
asInt
@Nonnull default Mixins.IntField asInt()
-
asInt
@Nonnull default Mixins.IntField asInt(boolean isNullable)
-
asLong
@Nonnull default Mixins.LongField asLong()
-
asLong
@Nonnull default Mixins.LongField asLong(boolean isNullable)
-
asFloat
@Nonnull default Mixins.FloatField asFloat()
-
asFloat
@Nonnull default Mixins.FloatField asFloat(boolean isNullable)
-
asDouble
@Nonnull default Mixins.DoubleField asDouble()
-
asDouble
@Nonnull default Mixins.DoubleField asDouble(boolean isNullable)
-
asString
@Nonnull default Mixins.StringField asString()
-
asString
@Nonnull default Mixins.StringField asString(boolean isNullable)
-
-