Skip to content

LogicalSchema

LogicalSchema represents a logical schema of a StructuredDataSource.

LogicalSchema is made up of columns.

Creating Instance

LogicalSchema takes the following to be created:

LogicalSchema is created when:

Columns

LogicalSchema is given Columns when created.

Used when:

Key Schema

List<Column> key()

key groups columns by namespace and takes out the Columns in KEY namespace.

Value Schema

List<Column> value()

value groups columns by namespace and takes out the Columns in VALUE namespace.

Header Columns

List<Column> headers()

headers groups columns by namespace and takes out the Columns in HEADERS namespace.

headers is used when:

byNamespace

Map<Namespace, List<Column>> byNamespace()

byNamespace...FIXME


byNamespace is used when:

findColumnMatching

Optional<Column> findColumnMatching(
  Predicate<Column> predicate)

findColumnMatching...FIXME


findColumnMatching is used when: