Interface ExtIndexDesc

  • All Known Implementing Classes:
    ExtIndexDescImpl

    public interface ExtIndexDesc
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCluster()
      Returns the cluster identifier of the system.
      java.lang.String getConnectionString()
      For the external system that supports it, returns the connection string, null for native secondary indexes.
      java.util.Collection<ExtIndexFieldDesc> getCoveredFields()
      Returns a collection of covered fields that are stored in this Index but are not indexed.
      java.util.List<ExtIndexFieldDesc> getIndexedFields()
      Returns an ordered list of field descriptors which are indexed.
      java.lang.String getIndexFid()
      Returns secondary index table FID.
      java.lang.String getIndexName()
      Returns the fully qualified, canonical name of the index, e.g.
      java.lang.String getPrimaryTablePath()
      Returns primary table path.
      java.lang.String getSystem()
      Returns the name descriptor of the system where the index is hosted, e.g.
      boolean isDisabled()
      Returns true if the index is disabled.
      boolean isExternal()
      Returns true if the index is not a native MapR-DB index.
      boolean isUnique()
      Returns true if the values of the indexed field or the combination of fields in case of composite index, are unique across all documents in the table.
    • Method Detail

      • getIndexedFields

        java.util.List<ExtIndexFieldDesc> getIndexedFields()
        Returns an ordered list of field descriptors which are indexed. For single field indexes, this list contains exactly one element while for composite indexes, it will contain one element for each field in the composite index, in the order they appear in the index.
      • getCoveredFields

        java.util.Collection<ExtIndexFieldDesc> getCoveredFields()
        Returns a collection of covered fields that are stored in this Index but are not indexed.
      • isUnique

        boolean isUnique()
        Returns true if the values of the indexed field or the combination of fields in case of composite index, are unique across all documents in the table.
      • isExternal

        boolean isExternal()
        Returns true if the index is not a native MapR-DB index.
      • isDisabled

        boolean isDisabled()
        Returns true if the index is disabled.
      • getPrimaryTablePath

        java.lang.String getPrimaryTablePath()
        Returns primary table path.
      • getIndexFid

        java.lang.String getIndexFid()
        Returns secondary index table FID.
      • getIndexName

        java.lang.String getIndexName()
        Returns the fully qualified, canonical name of the index, e.g. path of the native secondary index in MapR-DB. For external secondary indexes, the format will be dependent on the external system.
      • getSystem

        java.lang.String getSystem()
        Returns the name descriptor of the system where the index is hosted, e.g. "maprdb" for native secondary index.
      • getCluster

        java.lang.String getCluster()
        Returns the cluster identifier of the system.
      • getConnectionString

        java.lang.String getConnectionString()
        For the external system that supports it, returns the connection string, null for native secondary indexes.