Package | Description |
---|---|
com.mapr.db |
Modifier and Type | Method and Description |
---|---|
TableDescriptor |
TableDescriptor.addFamily(FamilyDescriptor family)
Appends a FamilyDescriptor to this TableDescriptor.
|
TableDescriptor |
TableDescriptor.clone()
Creates and returns a copy of this TableDescriptor.
|
TableDescriptor |
Table.getTableDescriptor() |
TableDescriptor |
Admin.getTableDescriptor(org.apache.hadoop.fs.Path tablePath) |
TableDescriptor |
Admin.getTableDescriptor(String tablePath) |
static TableDescriptor |
MapRDB.newTableDescriptor()
Creates and returns a TableDescriptor instance.
|
static TableDescriptor |
MapRDB.newTableDescriptor(boolean insertionOrder)
Deprecated.
|
static TableDescriptor |
MapRDB.newTableDescriptor(org.apache.hadoop.fs.Path tablePath)
Creates and returns a TableDescriptor instance initialized with the specified path.
|
static TableDescriptor |
MapRDB.newTableDescriptor(String tablePath)
Creates and returns a TableDescriptor instance initialized with the specified path.
|
TableDescriptor |
TableDescriptor.setAutoSplit(boolean autoSplit)
Sets the tablets to split automatically, or not, if they grow beyond a certain size.
|
TableDescriptor |
TableDescriptor.setBulkLoad(boolean bulkLoad)
Sets if the table is created with bulk load mode turned on.
|
TableDescriptor |
TableDescriptor.setFamilies(List<FamilyDescriptor> families)
Sets the list of families for this TableDescriptor.
|
TableDescriptor |
TableDescriptor.setInsertionOrder(boolean insertionOrder)
Sets the map entries to be stored in the order they are added or not to be stored in order.
|
TableDescriptor |
TableDescriptor.setPath(org.apache.hadoop.fs.Path tablePath)
Sets the path of this table in MapR FileSystem.
|
TableDescriptor |
TableDescriptor.setPath(String tablePath)
Sets the path of this table in MapR FileSystem.
|
TableDescriptor |
TableDescriptor.setSplitSize(long splitSizeMB)
Sets the size in mebibytes at which a tablet in this table will split.
|
Modifier and Type | Method and Description |
---|---|
void |
Admin.alterTable(TableDescriptor tableDesc)
Modify the attributes of an existing table.
|
Table |
Admin.createTable(TableDescriptor tableDesc)
Creates a Json table using the specified TableDescriptor.
|
Table |
Admin.createTable(TableDescriptor tableDesc,
ByteBuffer[] splitPoints)
Creates a pre-split JSON table using the specified TableDescriptor and the split points
as the tablet boundaries.
|
Table |
Admin.createTable(TableDescriptor tableDesc,
String[] splitPoints)
Creates a pre-split Json table using the specified TableDescriptor and the split points
as the tablet boundaries.
|
Copyright © 2016 Mapr Technologies, Inc.. All rights reserved.