public class InternalRowPartitionComputer extends Object
InternalRow
.Modifier and Type | Field and Description |
---|---|
protected String |
defaultPartValue |
protected boolean |
legacyPartitionName |
protected CastExecutor[] |
partitionCastExecutors |
protected String[] |
partitionColumns |
protected InternalRow.FieldGetter[] |
partitionFieldGetters |
protected List<DataType> |
types |
Constructor and Description |
---|
InternalRowPartitionComputer(String defaultPartValue,
RowType rowType,
String[] partitionColumns,
boolean legacyPartitionName) |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
convertSpecToInternal(Map<String,String> spec,
RowType partType,
String defaultPartValue) |
LinkedHashMap<String,String> |
generatePartValues(InternalRow in) |
static String |
partToSimpleString(RowType partitionType,
BinaryRow partition,
String delimiter,
int maxLength) |
protected final String defaultPartValue
protected final String[] partitionColumns
protected final InternalRow.FieldGetter[] partitionFieldGetters
protected final CastExecutor[] partitionCastExecutors
protected final boolean legacyPartitionName
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.