org.apache.hadoop.hive.ql.lockmgr
Class HiveLockObject.HiveLockObjectData
java.lang.Object
org.apache.hadoop.hive.ql.lockmgr.HiveLockObject.HiveLockObjectData
- Enclosing class:
- HiveLockObject
public static class HiveLockObject.HiveLockObjectData
- extends Object
HiveLockObject.HiveLockObjectData
public HiveLockObject.HiveLockObjectData(String queryId,
String lockTime,
String lockMode,
String queryStr)
- Constructor
Note: The parameters are used to uniquely identify a HiveLockObject.
The parameters will be stripped off any ':' characters in order not
to interfere with the way the data is serialized (':' delimited string).
HiveLockObject.HiveLockObjectData
public HiveLockObject.HiveLockObjectData(String data)
- Constructor
- Parameters:
data
- String of the form "queryId:lockTime:lockMode:queryStr".
No ':' characters are allowed in any of the components.
getQueryId
public String getQueryId()
getLockTime
public String getLockTime()
getLockMode
public String getLockMode()
getQueryStr
public String getQueryStr()
toString
public String toString()
- Overrides:
toString
in class Object
getClientIp
public String getClientIp()
setClientIp
public void setClientIp(String clientIp)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © 2014 The Apache Software Foundation. All rights reserved.