Package org.apache.hadoop.hbase.client
Class OnlineLogRecord
java.lang.Object
org.apache.hadoop.hbase.client.LogEntry
org.apache.hadoop.hbase.client.OnlineLogRecord
Slow/Large Log payload for hbase-client, to be used by Admin API get_slow_responses and
get_large_responses
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classorg.apache.hadoop.hbase.client.OnlineLogRecord.OnlineLogRecordBuilder -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongReturn the amount of block bytes scanned to retrieve the response cells.longintintintgetParam()intintlongOptional<org.apache.hadoop.hbase.client.Scan>getScan()If "hbase.slowlog.scan.payload.enabled" is enabled then this value may be present and should represent the Scan that produced the givenOnlineLogRecordlonginthashCode()Based on response sent by server, provide pretty printed Json representation in stringtoString()
-
Method Details
-
getStartTime
-
getProcessingTime
-
getQueueTime
-
getResponseSize
-
getBlockBytesScanned
Return the amount of block bytes scanned to retrieve the response cells. -
getFsReadTime
-
getClientAddress
-
getServerClass
-
getMethodName
-
getCallDetails
-
getParam
-
getRegionName
-
getUserName
-
getMultiGetsCount
-
getMultiMutationsCount
-
getMultiServiceCalls
-
getScan
If "hbase.slowlog.scan.payload.enabled" is enabled then this value may be present and should represent the Scan that produced the givenOnlineLogRecord -
getRequestAttributes
-
getConnectionAttributes
-
equals
-
hashCode
-
toJsonPrettyPrint
Description copied from class:LogEntryBased on response sent by server, provide pretty printed Json representation in string- Specified by:
toJsonPrettyPrintin classLogEntry- Returns:
- Pretty printed Json representation
-
toString
-