Class FieldReferenceDTO
java.lang.Object
org.apache.gravitino.dto.rel.expressions.FieldReferenceDTO
- All Implemented Interfaces:
FunctionArg
,Expression
,NamedReference
Data transfer object representing a field reference.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.apache.gravitino.dto.rel.expressions.FunctionArg
FunctionArg.ArgType
Nested classes/interfaces inherited from interface org.apache.gravitino.rel.expressions.NamedReference
NamedReference.FieldReference, NamedReference.MetadataField
-
Field Summary
Fields inherited from interface org.apache.gravitino.rel.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
Fields inherited from interface org.apache.gravitino.dto.rel.expressions.FunctionArg
EMPTY_ARGS
-
Method Summary
Modifier and TypeMethodDescriptionargType()
Arguments type of the function.static FieldReferenceDTO.Builder
builder()
String[]
Returns the referenced field name as an array of String parts.static FieldReferenceDTO
Creates a new instance ofFieldReferenceDTO
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.gravitino.dto.rel.expressions.FunctionArg
validate
Methods inherited from interface org.apache.gravitino.rel.expressions.NamedReference
children, references
-
Method Details
-
of
Creates a new instance ofFieldReferenceDTO
.- Parameters:
fieldName
- The field name.- Returns:
- The new instance.
-
fieldName
Description copied from interface:NamedReference
Returns the referenced field name as an array of String parts.Each string in the returned array represents a field name.
- Specified by:
fieldName
in interfaceNamedReference
- Returns:
- The field name.
-
argType
Description copied from interface:FunctionArg
Arguments type of the function.- Specified by:
argType
in interfaceFunctionArg
- Returns:
- The name of the field reference.
-
builder
- Returns:
- the builder for creating a new instance of FieldReferenceDTO.
-