LogicalSchema.Builder¶
LogicalSchema.Builder is used to create a schema.
Creating Instance¶
LogicalSchema.Builder takes the following to be created:
LogicalSchema.Builder is created when:
Columns¶
LogicalSchema.Builder is given Columns that are added to columns registry (using keyColumn, headerColumn and valueColumn for KEY, HEADERS and VALUE columns, respectively).
The columns are then used to build a LogicalSchema.
Creating LogicalSchema¶
LogicalSchema build()
build creates a LogicalSchema with the columns.
build is used when:
- FIXME
headerColumn¶
Builder headerColumn(
ColumnName columnName,
Optional<String> headerKey)
Builder headerColumn(
Column column)
headerColumn...FIXME
headerColumn is used when:
LogicalSchema.Builderis created and headerColumnsTableElementsis requested to toLogicalSchema
headerColumns¶
Builder headerColumns(
Iterable<? extends Column> columns)
headerColumns adds every column in the given columns and returns this LogicalSchema.Builder.
headerColumns is used when:
QueryProjectNodeis requested to buildPullQuerySelectStarSchema
addColumn¶
void addColumn(
Column column)
addColumn...FIXME
addColumn is used when: