Enum Class SyntheticColumns.Kind
java.lang.Object
java.lang.Enum<SyntheticColumns.Kind>
org.elasticsearch.xpack.esql.datasources.SyntheticColumns.Kind
- All Implemented Interfaces:
Serializable,Comparable<SyntheticColumns.Kind>,Constable
- Enclosing class:
SyntheticColumns
Registry of reader-synthesized internal channels. Each kind carries the canonical column
name and the attribute shape (
DataType + Nullability) the engine expects.
Adding a new kind here is the single change that grows the registry; consumers read the
shape off the member's accessors.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiondataType()static SyntheticColumns.KindReturns the enum constant of this class with the specified name.static SyntheticColumns.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROW_POSITION
Per-record token. The substrate for_idcomposition (hashed with the file identity byExternalRowIdentity) and surfaced directly as the virtual_file.record_refcolumn. Format-defined opaque value (file-global row index on columnar formats, file-global byte offset on text formats). Nullability is UNKNOWN, not FALSE: readers without a row-position channel (parquet-rs) null-splice this slot, so a never-null declaration would license null-aware optimizer rules to mis-fold against those sources.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
columnName
-
dataType
-
nullability
-