Package | Description |
---|---|
org.infinispan.schematic | |
org.infinispan.schematic.internal | |
org.infinispan.schematic.internal.schema |
Modifier and Type | Method and Description |
---|---|
SchemaLibrary.Results |
SchemaLibrary.validate(Document document,
String schemaUri)
Validate the supplied document against the JSON Schema with the supplied URI.
|
SchemaLibrary.Results |
SchematicDb.validate(String key)
Validate the JSON document store at the specified key.
|
Modifier and Type | Method and Description |
---|---|
Map<String,SchemaLibrary.Results> |
SchematicDb.validate(String firstKey,
String... additionalKeys)
Execute a Map-Reduce task to validate all JSON documents stored within this database, using this database's
JSON Schema library . |
Map<String,SchemaLibrary.Results> |
SchematicDb.validateAll()
Validate all JSON documents stored within this database, using this database's
JSON Schema
library . |
Modifier and Type | Method and Description |
---|---|
Document |
SchemaLibrary.convertValues(Document document,
SchemaLibrary.Results results)
Look for fields within the document (including nested documents) whose values are not of the expected type for the given
schema, but whose values can be converted into the expected type.
|
Modifier and Type | Method and Description |
---|---|
SchemaLibrary.Results |
DocumentValidationReducer.reduce(String reducedKey,
Iterator<SchemaLibrary.Results> iter) |
SchemaLibrary.Results |
InMemorySchemaLibrary.validate(Document document,
String schemaUri) |
SchemaLibrary.Results |
CacheSchemaLibrary.validate(Document document,
String schemaUri) |
SchemaLibrary.Results |
CacheSchematicDb.validate(String key) |
SchemaLibrary.Results |
DocumentValidationMapper.validate(String key,
SchematicEntry value) |
Modifier and Type | Method and Description |
---|---|
Map<String,SchemaLibrary.Results> |
CacheSchematicDb.ResultsCollector.getResultsByKey() |
Map<String,SchemaLibrary.Results> |
CacheSchematicDb.validate(String firstKey,
String... additionalKeys) |
Map<String,SchemaLibrary.Results> |
CacheSchematicDb.validateAll() |
Modifier and Type | Method and Description |
---|---|
Document |
InMemorySchemaLibrary.convertValues(Document document,
SchemaLibrary.Results results) |
Document |
CacheSchemaLibrary.convertValues(Document document,
SchemaLibrary.Results results) |
void |
CacheSchematicDb.ResultsCollector.emit(String key,
SchemaLibrary.Results value) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentValidationMapper.map(String key,
SchematicEntry value,
org.infinispan.distexec.mapreduce.Collector<String,SchemaLibrary.Results> collector) |
SchemaLibrary.Results |
DocumentValidationReducer.reduce(String reducedKey,
Iterator<SchemaLibrary.Results> iter) |
Modifier and Type | Class and Description |
---|---|
class |
ValidationResult
Basic implementation of
SchemaLibrary.Results to which problems can be added. |
Modifier and Type | Method and Description |
---|---|
static Document |
DocumentTransformer.convertValuesWithMismatchedTypes(Document original,
SchemaLibrary.Results results)
Return a copy of the supplied document that contains converted values for all of the fields (including in the nested
documents and arrays) that have values that are of the wrong type but can be converted to be of the correct type.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationResult.addAll(Iterator<SchemaLibrary.Results> iter) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.