Package | Description |
---|---|
com.mapr.db | |
com.mapr.db.exceptions |
Modifier and Type | Method and Description |
---|---|
FamilyDescriptor |
FamilyDescriptor.clone()
Creates and returns a copy of this FamilyDescriptor.
|
FamilyDescriptor |
TableDescriptor.getFamily(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. |
static FamilyDescriptor |
MapRDB.newDefaultFamilyDescriptor()
Creates and returns a FamilyDescriptor instance for the "default" family.
|
static FamilyDescriptor |
MapRDB.newFamilyDescriptor()
Creates and returns a FamilyDescriptor instance.
|
static FamilyDescriptor |
MapRDB.newFamilyDescriptor(String familyName,
org.ojai.FieldPath jsonPath)
Creates and returns a FamilyDescriptor instance initialized with the specified family
name and its JSON path.
|
static FamilyDescriptor |
MapRDB.newFamilyDescriptor(String familyName,
String jsonPath)
Creates and returns a FamilyDescriptor instance initialized with the specified family
name and its JSON path.
|
FamilyDescriptor |
FamilyDescriptor.setCompression(FamilyDescriptor.Compression compression)
Sets the
FamilyDescriptor.Compression scheme used to store data in the family |
FamilyDescriptor |
FamilyDescriptor.setInMemory(boolean inMemory)
Sets whether preference is given to data of this family when data is evicted from the
in-memory cache.
|
FamilyDescriptor |
FamilyDescriptor.setJsonFieldPath(org.ojai.FieldPath fieldPath)
Sets the JSON field path of this family
|
FamilyDescriptor |
FamilyDescriptor.setJsonFieldPath(String fieldPath)
Sets the JSON field path of this family
|
FamilyDescriptor |
FamilyDescriptor.setName(String name)
Sets the name of this family.
|
FamilyDescriptor |
FamilyDescriptor.setTTL(long ttlInSec)
Sets the Time-To-Live for the data stored in this family
|
Modifier and Type | Method and Description |
---|---|
List<FamilyDescriptor> |
TableDescriptor.getFamilies()
Returns the list of family descriptors for this table.
|
Modifier and Type | Method and Description |
---|---|
TableDescriptor |
TableDescriptor.addFamily(FamilyDescriptor family)
Appends a FamilyDescriptor to this TableDescriptor.
|
void |
Admin.alterFamily(org.apache.hadoop.fs.Path tablePath,
String familyName,
FamilyDescriptor familyDesc) |
void |
Admin.alterFamily(String tablePath,
String familyName,
FamilyDescriptor familyDesc) |
Modifier and Type | Method and Description |
---|---|
TableDescriptor |
TableDescriptor.setFamilies(List<FamilyDescriptor> families)
Sets the list of families for this TableDescriptor.
|
Constructor and Description |
---|
FamilyExistsException(org.apache.hadoop.fs.Path tablePath,
FamilyDescriptor familyName)
Constructor.
|
FamilyExistsException(org.apache.hadoop.fs.Path tablePath,
FamilyDescriptor familyDesc,
Throwable t)
Constructor taking a message and another exception.
|
Copyright © 2016 Mapr Technologies, Inc.. All rights reserved.