| Constructor and Description |
|---|
Partition.PartitionInfo(Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
CGSchema |
generateDefaultCGSchema(String name,
String compressor,
String serializer,
String owner,
String group,
short perm,
int defaultCGIndex,
String comparator) |
Map<String,HashSet<org.apache.hadoop.zebra.types.Partition.PartitionInfo.ColumnMappingEntry>> |
getColMap() |
HashSet<org.apache.hadoop.zebra.types.Partition.PartitionInfo.ColumnMappingEntry> |
getSplitMap(Schema.ColumnSchema fs)
returns "hash key-to-(sub)column" map on a (sub)column which is MAP-split
across different hash keys
|
boolean |
setCGIndex(Schema.ColumnSchema fs,
int ri,
int fi,
String name)
set a record field split (sub)column
|
boolean |
setKeyCGIndex(Schema.ColumnSchema fs,
int ri,
int fi,
String name,
HashSet<String> keys)
set a MAP key split (sub)column
|
public Partition.PartitionInfo(Schema schema)
public Map<String,HashSet<org.apache.hadoop.zebra.types.Partition.PartitionInfo.ColumnMappingEntry>> getColMap()
public boolean setKeyCGIndex(Schema.ColumnSchema fs, int ri, int fi, String name, HashSet<String> keys)
public boolean setCGIndex(Schema.ColumnSchema fs, int ri, int fi, String name)
public CGSchema generateDefaultCGSchema(String name, String compressor, String serializer, String owner, String group, short perm, int defaultCGIndex, String comparator) throws ParseException
ParseExceptionpublic HashSet<org.apache.hadoop.zebra.types.Partition.PartitionInfo.ColumnMappingEntry> getSplitMap(Schema.ColumnSchema fs)
Copyright © 2007-2012 The Apache Software Foundation