public interface SchemaBuilder
Schema objects.| Modifier and Type | Method and Description |
|---|---|
MutableSchema |
build()
Builds the
Schema |
DocumentConverter |
getDocumentConverter(Table table)
Gets a
DocumentConverter for a table in the produced schema |
String |
getSchemaName()
Gets the name of the schema that is built / will be built.
|
void |
offerSources(DocumentSourceProvider documentSourceProvider)
Offers a
DocumentSourceProvider to the SchemaBuilder. |
void offerSources(DocumentSourceProvider documentSourceProvider)
DocumentSourceProvider to the SchemaBuilder. The
SchemaBuilder may consume the sources to build/detect a schema
based on the observed documents in the sources. It may also choose to
ignore the source, if the it does not need it.documentSourceProvider - MutableSchema build()
SchemaDocumentConverter getDocumentConverter(Table table)
DocumentConverter for a table in the produced schemaString getSchemaName()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.