Public Methods |
abstract
void
|
addColumn(String tableName, String columnFamilyName, Integer maxVersions, Boolean inMemory, Integer scope)
|
abstract
void
|
addProperties(Map<String, String> properties)
Add the properties to the main configuration.
|
abstract
boolean
|
alive()
|
abstract
boolean
|
checkAndDelete(String tableName, String row, String checkColumnFamilyName, String checkColumnQualifier, Object checkValue, String deleteColumnFamilyName, String deleteColumnQualifier, Long deleteTimestamp, Boolean deleteAllVersions, RowLock deleteLock)
Atomically checks if a row/family/qualifier value matches the expected value.
|
abstract
boolean
|
checkAndPut(String tableName, String row, String checkColumnFamilyName, String checkColumnQualifier, Object checkValue, String putColumnFamilyName, String putColumnQualifier, Long putTimestamp, Object value, boolean putWriteToWAL, RowLock putLock)
Atomically checks if a row/family/qualifier value matches the expected value.
|
abstract
void
|
createTable(String name)
|
abstract
void
|
delete(String tableName, String row, String columnFamilyName, String columnQualifier, Long timestamp, boolean deleteAllVersions, RowLock lock)
This method can delete a row in several levels depending on the parameters
combination.
|
abstract
void
|
deleteColumn(String tableName, String columnFamilyName)
|
abstract
void
|
deleteTable(String name)
|
abstract
void
|
disabeTable(String name)
|
abstract
void
|
enableTable(String name)
|
abstract
boolean
|
exists(String tableName, String row, Integer maxVersions, Long timestamp)
|
abstract
boolean
|
existsColumn(String tableName, String columnFamilyName)
|
abstract
boolean
|
existsTable(String name)
|
abstract
Result
|
get(String tableName, String rowKey, String columnFamilyName, String columnQualifier, Integer maxVersions, Long timestamp)
|
abstract
long
|
increment(String tableName, String row, String columnFamilyName, String columnQualifier, long amount, boolean writeToWAL)
Atomically increments a column value.
|
abstract
boolean
|
isDisabledTable(String name)
|
abstract
RowLock
|
lock(String tableName, String row)
Locks a row in a table.
|
abstract
void
|
modifyColumn(String tableName, String columnFamilyName, Integer maxVersions, Integer blocksize, CompressionType compressionType, CompressionType compactionCompressionType, Boolean inMemory, Integer timeToLive, Boolean blockCacheEnabled, BloomFilterType bloomFilterType, Integer replicationScope, Map<String, String> values)
Changes a column family in a table, all null parameters will be
ignored.
|
abstract
void
|
put(String tableName, String row, String columnFamilyName, String columnQualifier, Long timestamp, Object value, boolean writeToWAL, RowLock lock)
Saves the value at the specified cell (row + family:qualifier + timestamp)
|
abstract
Iterable<Result>
|
scan(String tableName, String columnFamilyName, String columnQualifier, Long timestamp, Long maxTimestamp, Integer caching, boolean cacheBlocks, int maxVersions, String startRow, String stopRow, int fetchSize)
Scan across all rows in a table.
|
abstract
void
|
unlock(String tableName, RowLock lock)
Unlock the row
|