Package org.apache.fluo.api.client
Class AbstractTransactionBase
- java.lang.Object
-
- org.apache.fluo.api.client.AbstractSnapshotBase
-
- org.apache.fluo.api.client.AbstractTransactionBase
-
- All Implemented Interfaces:
SnapshotBase
,TransactionBase
public abstract class AbstractTransactionBase extends AbstractSnapshotBase implements TransactionBase
This class provides default implementations for many of the methods in TransactionBase. It exists to make implementing TransactionBase easier.
-
-
Constructor Summary
Constructors Constructor Description AbstractTransactionBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(CharSequence row, Column col)
Wrapper forTransactionBase.delete(Bytes, Column)
that uses Strings.void
set(CharSequence row, Column col, CharSequence value)
Wrapper forTransactionBase.set(Bytes, Column, Bytes)
that uses Strings.void
setWeakNotification(CharSequence row, Column col)
Wrapper forTransactionBase.setWeakNotification(Bytes, Column)
that uses Strings.-
Methods inherited from class org.apache.fluo.api.client.AbstractSnapshotBase
get, get, get, gets, gets, gets, gets, gets, gets, gets
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.fluo.api.client.SnapshotBase
get, get, get, get, get, get, get, getAsync, getAsync, gets, gets, gets, gets, gets, gets, gets, getsAsync, getsAsync, getScanTimeAuthorizations, getStartTimestamp, scanner, setScanTimeAuthorizations
-
Methods inherited from interface org.apache.fluo.api.client.TransactionBase
delete, set, setWeakNotification, withReadLock
-
-
-
-
Method Detail
-
delete
public void delete(CharSequence row, Column col)
Description copied from interface:TransactionBase
Wrapper forTransactionBase.delete(Bytes, Column)
that uses Strings. All String are encoded using UTF-8.- Specified by:
delete
in interfaceTransactionBase
-
set
public void set(CharSequence row, Column col, CharSequence value) throws AlreadySetException
Description copied from interface:TransactionBase
Wrapper forTransactionBase.set(Bytes, Column, Bytes)
that uses Strings. All String are encoded using UTF-8.- Specified by:
set
in interfaceTransactionBase
- Throws:
AlreadySetException
-
setWeakNotification
public void setWeakNotification(CharSequence row, Column col)
Description copied from interface:TransactionBase
Wrapper forTransactionBase.setWeakNotification(Bytes, Column)
that uses Strings. All String are encoded using UTF-8.- Specified by:
setWeakNotification
in interfaceTransactionBase
-
-