Class DefaultElasticsearchSchemas


  • public abstract class DefaultElasticsearchSchemas
    extends Object
    Abstract class for further application specific Elasticsearch schema creation.
    • Constructor Detail

      • DefaultElasticsearchSchemas

        public DefaultElasticsearchSchemas()
    • 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 the public static final AbstractEsParameter fields only.
        Parameters:
        schemaClass - application specific schema
      • getMetadataSchema

        public final Map<String,​Object> getMetadataSchema()
      • getSchemaVersion

        public abstract int getSchemaVersion()