public interface TableDescriptor
extends java.lang.Cloneable
| Modifier and Type | Method and Description | 
|---|---|
TableDescriptor | 
addFamily(FamilyDescriptor family)
Appends a FamilyDescriptor to this TableDescriptor. 
 | 
TableDescriptor | 
clone()
Creates and returns a copy of this TableDescriptor. 
 | 
java.util.List<FamilyDescriptor> | 
getFamilies()
Returns the list of family descriptors for this table. 
 | 
FamilyDescriptor | 
getFamily(java.lang.String familyName)
Returns the FamilyDescriptor of the family with the specified name from this TableDescriptor
 or  
null if a family by this name does not exist in the TableDescriptor. | 
int | 
getNumFamilies()
Returns the number of family descriptors for this table descriptor. 
 | 
org.apache.hadoop.fs.Path | 
getPath()  | 
long | 
getSplitSize()  | 
boolean | 
isAutoSplit()  | 
boolean | 
isBulkLoad()  | 
TableDescriptor | 
setAutoSplit(boolean autoSplit)
Sets the tablets to split automatically, or not, if they grow beyond a certain size. 
 | 
TableDescriptor | 
setBulkLoad(boolean bulkLoad)
Sets if the table is created with bulk load mode turned on. 
 | 
TableDescriptor | 
setFamilies(java.util.List<FamilyDescriptor> families)
Sets the list of families for this TableDescriptor. 
 | 
TableDescriptor | 
setInsertionOrder(boolean insertionOrder)
Deprecated. 
 
this method will not be supported since version 6.0 
 | 
TableDescriptor | 
setPath(org.apache.hadoop.fs.Path tablePath)
Sets the path of this table in MapR FileSystem. 
 | 
TableDescriptor | 
setPath(java.lang.String tablePath)
Sets the path of this table in MapR FileSystem. 
 | 
TableDescriptor | 
setSplitSize(long splitSizeMB)
Sets the size in mebibytes at which a tablet in this table will split. 
 | 
org.apache.hadoop.fs.Path getPath()
TableDescriptor setPath(java.lang.String tablePath)
tablePath - the table paththis for chain invocationTableDescriptor setPath(org.apache.hadoop.fs.Path tablePath)
tablePath - the table paththis for chain invocationboolean isBulkLoad()
true if the bulk load mode is set on this tableTableDescriptor setBulkLoad(boolean bulkLoad)
bulkLoad - true if the bulk load mode is to be turned onthis for chain invocationboolean isAutoSplit()
true if a tablet should split automatically if it grows beyond a certain size.TableDescriptor setAutoSplit(boolean autoSplit)
autoSplit - true if the split should happen automaticallythis for chain invocationlong getSplitSize()
TableDescriptor setSplitSize(long splitSizeMB)
splitSizeMB - split size in mebibytesthis for chain invocationFamilyDescriptor getFamily(java.lang.String familyName)
null if a family by this name does not exist in the TableDescriptor.
 Modifying the returned object does not modify this TableDescriptor.familyName - the family namejava.util.List<FamilyDescriptor> getFamilies()
int getNumFamilies()
TableDescriptor setFamilies(java.util.List<FamilyDescriptor> families)
families - the list of families to addthis for chain invocationTableDescriptor addFamily(FamilyDescriptor family)
family - this for chain invocationTableDescriptor clone()
@Deprecated TableDescriptor setInsertionOrder(boolean insertionOrder)
insertionOrder - true if the map entries are stored in the order they are addedthis for chain invocation