Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
Modifier and Type | Method and Description |
---|---|
static HColumnDescriptor |
HColumnDescriptor.convert(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilySchema cfs) |
HColumnDescriptor[] |
HTableDescriptor.getColumnFamilies()
Returns an array all the
HColumnDescriptor of the column families
of the table. |
HColumnDescriptor |
HTableDescriptor.getFamily(byte[] column)
Returns the HColumnDescriptor for a specific column family with name as
specified by the parameter column.
|
static HColumnDescriptor |
HColumnDescriptor.parseFrom(byte[] bytes) |
HColumnDescriptor |
HTableDescriptor.removeFamily(byte[] column)
Removes the HColumnDescriptor with name specified by the parameter column
from the table descriptor
|
HColumnDescriptor |
HColumnDescriptor.setBlockCacheEnabled(boolean blockCacheEnabled) |
HColumnDescriptor |
HColumnDescriptor.setBlocksize(int s) |
HColumnDescriptor |
HColumnDescriptor.setBloomFilterType(BloomType bt) |
HColumnDescriptor |
HColumnDescriptor.setCacheBloomsOnWrite(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setCacheDataInL1(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setCacheDataOnWrite(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setCacheIndexesOnWrite(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setCompactionCompressionType(Compression.Algorithm type)
Compression types supported in hbase.
|
HColumnDescriptor |
HColumnDescriptor.setCompressionType(Compression.Algorithm type)
Compression types supported in hbase.
|
HColumnDescriptor |
HColumnDescriptor.setCompressTags(boolean compressTags)
Set whether the tags should be compressed along with DataBlockEncoding.
|
HColumnDescriptor |
HColumnDescriptor.setConfiguration(String key,
String value)
Setter for storing a configuration setting in
configuration map. |
HColumnDescriptor |
HColumnDescriptor.setDataBlockEncoding(DataBlockEncoding type)
Set data block encoding algorithm used in block cache.
|
HColumnDescriptor |
HColumnDescriptor.setDFSReplication(short replication)
Set the replication factor to hfile(s) belonging to this family
|
HColumnDescriptor |
HColumnDescriptor.setEncodeOnDisk(boolean encodeOnDisk)
Deprecated.
As of release 0.98
(HBASE-9870).
This will be removed in HBase 2.0.0. This method does nothing now.
|
HColumnDescriptor |
HColumnDescriptor.setEncryptionKey(byte[] keyBytes)
Set the raw crypto key attribute for the family
|
HColumnDescriptor |
HColumnDescriptor.setEncryptionType(String algorithm)
Set the encryption algorithm for use with this family
|
HColumnDescriptor |
HColumnDescriptor.setEvictBlocksOnClose(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setInMemory(boolean inMemory) |
HColumnDescriptor |
HColumnDescriptor.setKeepDeletedCells(boolean keepDeletedCells)
Deprecated.
As of release 1.0.0
(HBASE-12363).
This will be removed in HBase 2.0.0.
Use
setKeepDeletedCells(KeepDeletedCells) . |
HColumnDescriptor |
HColumnDescriptor.setKeepDeletedCells(KeepDeletedCells keepDeletedCells) |
HColumnDescriptor |
HColumnDescriptor.setMaxVersions(int maxVersions) |
HColumnDescriptor |
HColumnDescriptor.setMinVersions(int minVersions) |
HColumnDescriptor |
HColumnDescriptor.setPrefetchBlocksOnOpen(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setScope(int scope) |
HColumnDescriptor |
HColumnDescriptor.setTimeToLive(int timeToLive) |
HColumnDescriptor |
HColumnDescriptor.setValue(byte[] key,
byte[] value) |
HColumnDescriptor |
HColumnDescriptor.setValue(String key,
String value) |
HColumnDescriptor |
HColumnDescriptor.setVersions(int minVersions,
int maxVersions)
Set minimum and maximum versions to keep
|
Modifier and Type | Method and Description |
---|---|
Collection<HColumnDescriptor> |
HTableDescriptor.getFamilies()
Returns an unmodifiable collection of all the
HColumnDescriptor
of all the column families of the table. |
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
HTableDescriptor.addFamily(HColumnDescriptor family)
Adds a column family.
|
int |
HColumnDescriptor.compareTo(HColumnDescriptor o) |
HTableDescriptor |
HTableDescriptor.modifyFamily(HColumnDescriptor family)
Modifies the existing column family.
|
Constructor and Description |
---|
HColumnDescriptor(HColumnDescriptor desc)
Constructor.
|
HTableDescriptor(TableName name,
HColumnDescriptor[] families)
INTERNAL Private constructor used internally creating table descriptors for
catalog tables,
hbase:meta and -ROOT- . |
HTableDescriptor(TableName name,
HColumnDescriptor[] families,
Map<ImmutableBytesWritable,ImmutableBytesWritable> values)
INTERNAL Private constructor used internally creating table descriptors for
catalog tables,
hbase:meta and -ROOT- . |
Modifier and Type | Method and Description |
---|---|
HColumnDescriptor |
UnmodifyableHTableDescriptor.removeFamily(byte[] column) |
Modifier and Type | Method and Description |
---|---|
void |
Admin.addColumn(TableName tableName,
HColumnDescriptor column)
Add a column to an existing table.
|
HTableDescriptor |
UnmodifyableHTableDescriptor.addFamily(HColumnDescriptor family)
Does NOT add a column family.
|
void |
Admin.modifyColumn(TableName tableName,
HColumnDescriptor descriptor)
Modify an existing column family on a table.
|
HTableDescriptor |
UnmodifyableHTableDescriptor.modifyFamily(HColumnDescriptor family) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.