@Deprecated public class Lock extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Lock.Options
Deprecated.
Constructs a lock options for a set of Hive ACID tables from which we wish to read.
|
Constructor and Description |
---|
Lock(IMetaStoreClient metaStoreClient,
Lock.Options options)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
acquire()
Deprecated.
Attempts to acquire a read lock on the table, returns if successful, throws exception otherwise.
|
void |
acquire(long transactionId)
Deprecated.
Attempts to acquire a read lock on the table, returns if successful, throws exception otherwise.
|
String |
getUser()
Deprecated.
|
void |
release()
Deprecated.
Attempts to release the read lock on the table.
|
String |
toString()
Deprecated.
|
public Lock(IMetaStoreClient metaStoreClient, Lock.Options options)
public void acquire() throws LockException
LockException
public void acquire(long transactionId) throws LockException
LockException
public void release() throws LockException
LockException
public String getUser()
Copyright © 2022 The Apache Software Foundation. All rights reserved.