public static class HiveLockObject.HiveLockObjectData extends Object
Constructor and Description |
---|
HiveLockObjectData(String data)
Constructor
|
HiveLockObjectData(String queryId,
String lockTime,
String lockMode,
String queryStr,
HiveConf conf)
Constructor
Note: The parameters are used to uniquely identify a HiveLockObject.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getClientIp() |
String |
getLockMode() |
String |
getLockTime() |
String |
getQueryId() |
String |
getQueryStr() |
int |
hashCode() |
void |
setClientIp(String clientIp) |
String |
toString() |
public HiveLockObjectData(String queryId, String lockTime, String lockMode, String queryStr, HiveConf conf)
queryId
- The query identifier will be added to the object without changelockTime
- The lock time will be added to the object without changelockMode
- The lock mode will be added to the object without changequeryStr
- The query string might be truncated based on
HIVE_LOCK_QUERY_STRING_MAX_LENGTH conf variableconf
- The hive configuration based on which we decide if we should truncate the query
string or notpublic HiveLockObjectData(String data)
data
- String of the form "queryId:lockTime:lockMode:queryStr".
No ':' characters are allowed in any of the components.Copyright © 2022 The Apache Software Foundation. All rights reserved.