public class OperationLog extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OperationLog.LoggingLevel |
Constructor and Description |
---|
OperationLog(String name,
File file,
HiveConf hiveConf) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this OperationLog when operation is closed.
|
static OperationLog.LoggingLevel |
getLoggingLevel(String mode) |
OperationLog.LoggingLevel |
getOpLoggingLevel() |
List<String> |
readOperationLog(boolean isFetchFirst,
long maxRows)
Read operation execution logs from log file
|
String |
toString() |
public static OperationLog.LoggingLevel getLoggingLevel(String mode)
public OperationLog.LoggingLevel getOpLoggingLevel()
public List<String> readOperationLog(boolean isFetchFirst, long maxRows) throws SQLException
isFetchFirst
- true if the Enum FetchOrientation value is Fetch_FirstmaxRows
- the max number of fetched lines from logSQLException
public void close()
Copyright © 2022 The Apache Software Foundation. All rights reserved.