public class CouchDbSimpleTableDefSchemaBuilder extends SimpleTableDefSchemaBuilder
| Constructor and Description |
|---|
CouchDbSimpleTableDefSchemaBuilder(SimpleTableDef[] tableDefs) |
| 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 |
void |
offerSources(DocumentSourceProvider documentSourceProvider)
Offers a
DocumentSourceProvider to the SchemaBuilder. |
getSchemaNamepublic CouchDbSimpleTableDefSchemaBuilder(SimpleTableDef[] tableDefs)
public void offerSources(DocumentSourceProvider documentSourceProvider)
SchemaBuilderDocumentSourceProvider 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.offerSources in interface SchemaBuilderofferSources in class SimpleTableDefSchemaBuilderpublic MutableSchema build()
SchemaBuilderSchemabuild in interface SchemaBuilderbuild in class SimpleTableDefSchemaBuilderpublic DocumentConverter getDocumentConverter(Table table)
SchemaBuilderDocumentConverter for a table in the produced schemagetDocumentConverter in interface SchemaBuildergetDocumentConverter in class SimpleTableDefSchemaBuilderCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.