public class StringComparator extends BaseColumnComparator
columnIdx, columnName, schema| Constructor and Description |
|---|
StringComparator(String columnName) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
compare(Writable w1,
Writable w2) |
columnName, columnNames, compare, getInputSchema, outputColumnName, outputColumnNames, setInputSchema, setSchema, transformclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic StringComparator(String columnName)
columnName - Name of the column in which to compare valuesprotected int compare(Writable w1, Writable w2)
compare in class BaseColumnComparatorCopyright © 2020. All rights reserved.