|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.client.Operation
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class Operation
Superclass for any type that maps to a potentially application-level query. (e.g. Put, Get, Delete, Scan, Next, etc.) Contains methods for exposure to logging and debugging tools.
Constructor Summary | |
---|---|
Operation()
|
Method Summary | |
---|---|
abstract Map<String,Object> |
getFingerprint()
Produces a Map containing a fingerprint which identifies the type and the static schema components of a query (i.e. |
String |
toJSON()
Produces a JSON object sufficient for description of a query in a debugging or logging context. |
String |
toJSON(int maxCols)
Produces a JSON object for fingerprint and details exposure in a parseable format. |
Map<String,Object> |
toMap()
Produces a Map containing a full summary of a query. |
abstract Map<String,Object> |
toMap(int maxCols)
Produces a Map containing a summary of the details of a query beyond the scope of the fingerprint (i.e. |
String |
toString()
Produces a string representation of this Operation. |
String |
toString(int maxCols)
Produces a string representation of this Operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Operation()
Method Detail |
---|
public abstract Map<String,Object> getFingerprint()
public abstract Map<String,Object> toMap(int maxCols)
maxCols
- a limit on the number of columns output prior to truncation
public Map<String,Object> toMap()
public String toJSON(int maxCols) throws IOException
maxCols
- a limit on the number of columns to include in the JSON
IOException
public String toJSON() throws IOException
IOException
public String toString(int maxCols)
maxCols
- a limit on the number of columns output in the summary
prior to truncation
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |