Class UserDefinedField<T extends DataType>

  • 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 java.lang.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.