Class IndexKey
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.store.IndexKey
-
- All Implemented Interfaces:
Comparable<IndexKey>
public class IndexKey extends Object implements Comparable<IndexKey>
Class representing index name and type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(IndexKey o)booleanequals(Object o)static IndexKeyfromIndexName(String name, String indexName)inthashCode()StringtoString()
-
-
-
Method Detail
-
fromIndexName
public static IndexKey fromIndexName(String name, String indexName)
- Throws:
IllegalArgumentException- if there is no index with the given index id
-
compareTo
public int compareTo(IndexKey o)
- Specified by:
compareToin interfaceComparable<IndexKey>
-
-