Class ElasticsearchAccessor

    • Constructor Detail

      • ElasticsearchAccessor

        public ElasticsearchAccessor​(EntityDescriptor entityDesc,
                                     java.net.URI uri,
                                     java.util.Map<java.lang.String,​java.lang.Object> cfg)
    • Method Detail

      • parseIndexName

        public static java.lang.String parseIndexName​(java.net.URI uri)
      • getCommitLogReader

        public java.util.Optional<CommitLogReader> getCommitLogReader​(Context context)
        Description copied from interface: DataAccessor
        Retrieve commit log reader (if applicable).
        Specified by:
        getCommitLogReader in interface DataAccessor
        Parameters:
        context - serializable context provided by repository
        Returns:
        optional @{link CommitLogReader} of this accessor
      • getRestHighLevelClient

        public cz.o2.proxima.elasticsearch.shaded.org.elasticsearch.client.RestHighLevelClient getRestHighLevelClient()
      • getFlushInterval

        @Nullable
        public cz.o2.proxima.elasticsearch.shaded.org.elasticsearch.core.TimeValue getFlushInterval()