Package org.apache.druid.query.ordering
Class StringComparators.AlphanumericComparator
- java.lang.Object
-
- org.apache.druid.query.ordering.StringComparator
-
- org.apache.druid.query.ordering.StringComparators.AlphanumericComparator
-
- All Implemented Interfaces:
Comparator<String>
- Enclosing class:
- StringComparators
public static class StringComparators.AlphanumericComparator extends StringComparator
-
-
Constructor Summary
Constructors Constructor Description AlphanumericComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(String str1, String str2)
boolean
equals(Object o)
byte[]
getCacheKey()
int
hashCode()
String
toString()
-
Methods inherited from class org.apache.druid.query.ordering.StringComparator
fromString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceComparator<String>
- Overrides:
equals
in classObject
-
getCacheKey
public byte[] getCacheKey()
- Specified by:
getCacheKey
in classStringComparator
-
-