| Constructor and Description |
|---|
SchemaImpl(org.brutusin.json.spi.JsonSchema jsonSchema) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Boolean> |
getFacetFields()
Returns the lucene facet names, and if they are multievaluated
|
Map<String,org.brutusin.json.spi.JsonNode.Type> |
getIndexFields()
Returns the lucene index field names and their type, that can be used in
queries
|
org.brutusin.json.spi.JsonSchema |
getJSONSChema()
Returns the JSON-Schema governing the structure of the records
|
void |
setFacetFields(Map<String,Boolean> facetFields) |
public SchemaImpl(org.brutusin.json.spi.JsonSchema jsonSchema)
throws org.brutusin.json.ParseException
org.brutusin.json.ParseExceptionpublic org.brutusin.json.spi.JsonSchema getJSONSChema()
SchemagetJSONSChema in interface Schemapublic Map<String,org.brutusin.json.spi.JsonNode.Type> getIndexFields()
SchemagetIndexFields in interface Schemapublic Map<String,Boolean> getFacetFields()
SchemagetFacetFields in interface SchemaCopyright © 2010–2015. All rights reserved.