public class RowSignature extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RowSignature.Builder |
Modifier and Type | Method and Description |
---|---|
static RowSignature.Builder |
builder() |
boolean |
equals(Object o) |
ValueType |
getColumnType(String name) |
org.apache.calcite.rel.type.RelDataType |
getRelDataType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
Returns a Calcite RelDataType corresponding to this row signature.
|
List<String> |
getRowOrder()
Returns the rowOrder for this signature, which is the list of column names in row order.
|
int |
hashCode() |
StringComparator |
naturalStringComparator(RowExtraction rowExtraction)
Return the "natural"
StringComparator for an extraction from this row signature. |
String |
toString() |
public static RowSignature.Builder builder()
public List<String> getRowOrder()
public StringComparator naturalStringComparator(RowExtraction rowExtraction)
StringComparator
for an extraction from this row signature. This will be a
lexicographic comparator for String types and a numeric comparator for Number types.rowExtraction
- extraction from this kind of rowpublic org.apache.calcite.rel.type.RelDataType getRelDataType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
typeFactory
- factory for type constructionCopyright © 2011–2017. All rights reserved.