| java.lang.Object | |
| ↳ | org.mule.module.hbase.api.impl.RPCHBaseService |
HBaseService that uses the official RPC client to connect with the
database.
Important It requires HBase >= 0.90.3-SNAPSHOT because of this
two issues:
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BYTE_ARRAY_CONVERTER | |||||||||||
| UTF8 | |||||||||||
| configuration | |||||||||||
| hTableInterfaceFactory | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add the properties to the main configuration.
| |||||||||||
Atomically checks if a row/family/qualifier value matches the expected value.
| |||||||||||
Atomically checks if a row/family/qualifier value matches the expected value.
| |||||||||||
This method can delete a row in several levels depending on the parameters
combination.
| |||||||||||
Atomically increments a column value.
| |||||||||||
Locks a row in a table.
| |||||||||||
Changes a column family in a table, all
null parameters will be
ignored. | |||||||||||
Saves the value at the specified cell (row + family:qualifier + timestamp)
| |||||||||||
Scan across all rows in a table.
| |||||||||||
Unlock the row
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.mule.module.hbase.api.HBaseService
| |||||||||||
| name | |
|---|---|
| someColumnFamilyName | |
| maxVersions | |
| inMemory | |
| scope |
Add the properties to the main configuration. It overrides old properties if they where already added.
| properties |
|---|
Atomically checks if a row/family/qualifier value matches the expected value. If it does, it adds the delete.
| tableName | |
|---|---|
| row | |
| checkColumnFamilyName | |
| checkColumnQualifier | |
| checkValue | |
| deleteColumnFamilyName | |
| deleteColumnQualifier | |
| deleteTimestamp | |
| deleteAllVersions | |
| deleteLock |
Atomically checks if a row/family/qualifier value matches the expected value. If it does, it adds the put.
| tableName | |
|---|---|
| row | |
| checkColumnFamilyName | |
| checkColumnQualifier | |
| checkValue | |
| putColumnFamilyName | |
| putColumnQualifier | |
| putTimestamp | |
| putValue | |
| putWriteToWAL | |
| putLock |
| tableName |
|---|
This method can delete a row in several levels depending on the parameters combination.
| tableName | |
|---|---|
| row | |
| columnFamilyName | Set null to delete all column families in
the specified row |
| columnQualifier | Set null to delete all columns in the
specified column family |
| timestamp | Set it to delete all versions of the specified column or column family with a timestamp less than or equal to the specified timestamp |
| deleteAllVersions | Set false to delete only the latest
version of the specified column
|
| lock |
| tableName | |
|---|---|
| rowKey | |
| columnFamilyName | |
| columnQualifier | |
| maxVersions | |
| timestamp |
Atomically increments a column value. If the column value does not yet exist
it is initialized to amount and written to the specified column.
| tableName | |
|---|---|
| row | |
| columnFamilyName | |
| columnQualifier | |
| amount | |
| writeToWAL | Set it to false means that in a fail scenario,
you will lose any increments that have not been flushed. |
Locks a row in a table. You should eventually call
unlock(String, RowLock).
| tableName | |
|---|---|
| row |
Changes a column family in a table, all null parameters will be
ignored.
| tableName | Required |
|---|---|
| columnFamilyName | Required |
| maxVersions | |
| blocksize | |
| compressionType | |
| compactionCompressionType | |
| inMemory | |
| timeToLive | |
| blockCacheEnabled | |
| bloomFilterType | |
| replicationScope | |
| values | (optional) an extension point for arbitrary data |
Saves the value at the specified cell (row + family:qualifier + timestamp)
| tableName | |
|---|---|
| row | |
| columnFamilyName | |
| columnQualifier | |
| timestamp | (optional) a specific version |
| value | |
| writeToWAL | |
| lock |
Scan across all rows in a table.
| tableName | Limits the scan to a specific table. This is the only required argument. |
|---|---|
| columnFamilyName | Limits the scan to a specific column family or
null |
| columnQualifier | Limits the scan to a specific column or
null. Requires a columnFamilyName to be defined. |
| timestamp | Limits the scan to a specific timestamp |
| maxTimestamp | Get versions of columns only within the specified timestamp range: [timestamp, maxTimestamp) |
| caching | The number of rows for caching |
| cacheBlocks | The number of rows for caching that will be passed to scanners |
| maxVersions | Limits the number of versions on each column |
| startRow | Limits the beginning of the scan to the specified row inclusive |
| stopRow | Limits the end of the scan to the specified row exclusive |
| fetchSize |