Class FieldReferenceDTO

java.lang.Object
org.apache.gravitino.dto.rel.expressions.FieldReferenceDTO
All Implemented Interfaces:
FunctionArg, Expression, NamedReference

public class FieldReferenceDTO extends Object implements FunctionArg, NamedReference
Data transfer object representing a field reference.
  • Method Details

    • of

      public static FieldReferenceDTO of(String... fieldName)
      Creates a new instance of FieldReferenceDTO.
      Parameters:
      fieldName - The field name.
      Returns:
      The new instance.
    • fieldName

      public String[] 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 interface NamedReference
      Returns:
      The field name.
    • argType

      public FunctionArg.ArgType argType()
      Description copied from interface: FunctionArg
      Arguments type of the function.
      Specified by:
      argType in interface FunctionArg
      Returns:
      The name of the field reference.
    • builder

      public static FieldReferenceDTO.Builder builder()
      Returns:
      the builder for creating a new instance of FieldReferenceDTO.