All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vertexium.elasticsearch5.IndexSelectionStrategy Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.elasticsearch5;

import org.vertexium.ElementId;
import org.vertexium.ElementLocation;
import org.vertexium.ExtendedDataRowId;
import org.vertexium.PropertyDefinition;

import java.util.EnumSet;

public interface IndexSelectionStrategy {
    String[] getIndicesToQuery(Elasticsearch5SearchIndex es);

    String getIndexName(Elasticsearch5SearchIndex es, ElementId elementId);

    String[] getIndexNames(Elasticsearch5SearchIndex es, PropertyDefinition propertyDefinition);

    boolean isIncluded(Elasticsearch5SearchIndex es, String indexName);

    String[] getManagedIndexNames(Elasticsearch5SearchIndex es);

    String[] getIndicesToQuery(ElasticsearchSearchQueryBase query, EnumSet elementType);

    String getExtendedDataIndexName(
        Elasticsearch5SearchIndex es,
        ElementLocation elementLocation,
        String tableName,
        String rowId
    );

    String getExtendedDataIndexName(Elasticsearch5SearchIndex es, ExtendedDataRowId rowId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy