Interface PartitionFieldReference
- All Superinterfaces:
Expression,NamedReference
A reference to a partition field in
Table.partitioning().
NamedReference.fieldNames() returns the partition field name (or names) as reported by
the table's partition schema.
ordinal() returns the 0-based position in Table.partitioning().
- Since:
- 4.2.0
-
Field Summary
Fields inherited from interface org.apache.spark.sql.connector.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE -
Method Summary
Modifier and TypeMethodDescriptionintordinal()Returns the 0-based ordinal of this partition field inTable.partitioning().Methods inherited from interface org.apache.spark.sql.connector.expressions.Expression
describeMethods inherited from interface org.apache.spark.sql.connector.expressions.NamedReference
children, fieldNames, references
-
Method Details
-
ordinal
int ordinal()Returns the 0-based ordinal of this partition field inTable.partitioning().
-