Class DefaultElasticsearchSchemas
- java.lang.Object
-
- org.n52.iceland.statistics.impl.schemabuilders.DefaultElasticsearchSchemas
-
public abstract class DefaultElasticsearchSchemas extends Object
Abstract class for further application specific Elasticsearch schema creation.
-
-
Constructor Summary
Constructors Constructor Description DefaultElasticsearchSchemas()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidappSpecificSchema()Map<String,Object>getMetadataSchema()Map<String,Object>getSchema()abstract intgetSchemaVersion()protected voidprocessSchemaClass(Class<?> schemaClass)Call this method in your subclass and point it to your class where the mappings exists.
-
-
-
Method Detail
-
processSchemaClass
protected final void processSchemaClass(Class<?> schemaClass)
Call this method in your subclass and point it to your class where the mappings exists. This class will process thepublic static finalfields only.AbstractEsParameter- Parameters:
schemaClass- application specific schema
-
getSchemaVersion
public abstract int getSchemaVersion()
-
appSpecificSchema
protected abstract void appSpecificSchema()
-
-