All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
APIResult |
addFileResource(String path) |
APIResult |
addJarResource(String path) |
APIResult |
addPartitionsToDim(String table,
String storage,
String partsSpec) |
APIResult |
addPartitionsToDim(String table,
String storage,
XPartitionList xpList) |
APIResult |
addPartitionsToFact(String table,
String storage,
String partsSpec) |
APIResult |
addPartitionsToFact(String table,
String storage,
XPartitionList xpList) |
APIResult |
addPartitionToDim(String table,
String storage,
String partSpec) |
APIResult |
addPartitionToDim(String table,
String storage,
XPartition xp) |
APIResult |
addPartitionToFact(String table,
String storage,
String partSpec) |
APIResult |
addPartitionToFact(String table,
String storage,
XPartition xp) |
APIResult |
addStorageToDim(String dim,
String storage) |
APIResult |
addStorageToFact(String factName,
String spec) |
void |
close() |
void |
closeConnection() |
APIResult |
createCube(String cubeSpec) |
APIResult |
createDatabase(String database,
boolean ignoreIfExists) |
APIResult |
createDimension(String dimSpec) |
APIResult |
createDimensionTable(String dimSpec) |
APIResult |
createFactTable(String factSpec) |
APIResult |
createSegmentation(String segSpec) |
APIResult |
createStorage(String storageSpec) |
boolean |
destroyPrepared(QueryPrepareHandle queryPrepareHandle) |
APIResult |
dropAllPartitionsOfDim(String dim,
String storage) |
APIResult |
dropAllPartitionsOfDim(String dim,
String storage,
String list) |
APIResult |
dropAllPartitionsOfFact(String fact,
String storage) |
APIResult |
dropAllPartitionsOfFact(String fact,
String storage,
String list) |
APIResult |
dropAllStoragesOfDim(String table) |
APIResult |
dropAllStoragesOfFact(String table) |
APIResult |
dropCube(String cube) |
APIResult |
dropDatabase(String database,
boolean cascade) |
APIResult |
dropDimension(String dimName) |
APIResult |
dropDimensionTable(String dim,
boolean cascade) |
APIResult |
dropFactTable(String fact,
boolean cascade) |
APIResult |
dropSegmentation(String segName) |
APIResult |
dropStorage(String storage) |
APIResult |
dropStorageFromDim(String dim,
String storage) |
APIResult |
dropStorageFromFact(String factName,
String storage) |
QueryHandle |
executePrepared(QueryPrepareHandle phandle,
String queryName)
Deprecated.
|
QueryHandle |
executePrepared(QueryPrepareHandle phandle,
String queryName,
LensConf conf) |
QueryHandle |
executeQueryAsynch(String sql,
String queryName)
Deprecated.
|
QueryHandle |
executeQueryAsynch(String sql,
String queryName,
LensConf conf) |
QueryHandleWithResultSet |
executeQueryWithTimeout(String sql,
String queryName,
long timeOutMillis)
Deprecated.
|
QueryHandleWithResultSet |
executeQueryWithTimeout(String sql,
String queryName,
long timeOutMillis,
LensConf conf)
Execute query with timeout option.
|
LensAPIResult<QueryPlan> |
explainAndPrepare(String sql,
String queryName)
Deprecated.
|
LensAPIResult<QueryPlan> |
explainAndPrepare(String sql,
String queryName,
LensConf conf) |
List<String> |
getAllCubes() |
List<String> |
getAllDatabases() |
List<String> |
getAllDimensions() |
List<String> |
getAllDimensionTables() |
List<String> |
getAllDimensionTables(String dimensionName) |
List<String> |
getAllFactTables() |
List<String> |
getAllFactTables(String cubeName) |
List<String> |
getAllNativeTables() |
List<XPartition> |
getAllPartitionsOfDim(String dim,
String storage) |
List<XPartition> |
getAllPartitionsOfDim(String dim,
String storage,
String list) |
List<XPartition> |
getAllPartitionsOfFact(String fact,
String storage) |
List<XPartition> |
getAllPartitionsOfFact(String fact,
String storage,
String list) |
List<String> |
getAllSegmentations() |
List<String> |
getAllSegmentations(String filter) |
List<String> |
getAllStorages() |
LensClient.LensClientResultSetWithStats |
getAsyncResults(QueryHandle q) |
static org.slf4j.Logger |
getCliLogger() |
LensClientConfig |
getConf() |
LensConnection |
getConnection() |
List<String> |
getConnectionParam() |
List<String> |
getConnectionParam(String key) |
XCube |
getCube(String cubeName) |
String |
getCurrentDatabae() |
XDimension |
getDimension(String dimName) |
XDimensionTable |
getDimensionTable(String dimName) |
List<String> |
getDimStorages(String dim) |
List<String> |
getFactStorages(String fact) |
XFact |
getFactTable(String factName) |
javax.ws.rs.core.Response |
getHttpResults() |
javax.ws.rs.core.Response |
getHttpResults(QueryHandle q) |
ResultSet |
getHttpResultSet(QueryHandle queryHandle)
Gets the ResultSet for the query represented by queryHandle.
|
ResultSet |
getHttpResultSet(QueryHandle queryHandle,
Charset encoding,
boolean isHeaderPresent,
char delimiter,
boolean isResultZipped)
Gets the ResultSet for the query represented by queryHandle.
|
XJoinChains |
getJoinChains(String table) |
Date |
getLatestDateOfCube(String cubeName,
String timePartition) |
LensStatement |
getLensStatement(QueryHandle query) |
javax.ws.rs.core.Response |
getLogs(String logFile) |
LensMetadataClient |
getMc() |
LensMetadataClient |
getMetadataClient() |
XNativeTable |
getNativeTable(String tblName) |
List<String> |
getPartitionTimelines(String factName,
String storageName,
String updatePeriod,
String timeDimension) |
PathValidator |
getPathValidator() |
List<QueryPrepareHandle> |
getPreparedQueries(String userName,
String queryName,
String fromDate,
String toDate) |
LensPreparedQuery |
getPreparedQuery(QueryPrepareHandle phandle) |
List<QueryHandle> |
getQueries(String state,
String queryName,
String user,
String driver,
String fromDate,
String toDate) |
List<LensQuery> |
getQueriesWithDetails(String state,
String queryName,
String user,
String driver,
String fromDate,
String toDate) |
XFlattenedColumns |
getQueryableFields(String table,
boolean flattened) |
LensQuery |
getQueryDetails(QueryHandle handle) |
LensQuery |
getQueryDetails(String handle) |
LensAPIResult<QueryPlan> |
getQueryPlan(String q) |
QueryStatus |
getQueryStatus(QueryHandle query) |
QueryStatus |
getQueryStatus(String q) |
QueryResult |
getResults(QueryHandle query) |
LensClient.LensClientResultSetWithStats |
getResults(String sql,
String queryName) |
LensClient.LensClientResultSetWithStats |
getResultsFromPrepared(QueryPrepareHandle phandle,
String queryName) |
XSegmentation |
getSegmentation(String segName) |
LensStatement |
getStatement() |
XStorage |
getStorage(String storageName) |
XStorageTableElement |
getStorageFromDim(String dim,
String storage) |
XStorageTableElement |
getStorageFromFact(String fact,
String storage) |
LensClient.LensClientResultSetWithStats |
getSyncResults(QueryHandle q) |
boolean |
isConnectionOpen() |
boolean |
killQuery(QueryHandle q) |
List<String> |
listResources(String type) |
LensAPIResult<QueryPrepareHandle> |
prepare(String sql,
String queryName)
Deprecated.
|
LensAPIResult<QueryPrepareHandle> |
prepare(String sql,
String queryName,
LensConf conf) |
APIResult |
removeFileResource(String path) |
APIResult |
removeJarResource(String path) |
APIResult |
setConnectionParam(String key,
String val) |
boolean |
setDatabase(String database) |
APIResult |
updateCube(String cubeName,
String cubeSpec) |
APIResult |
updateDimension(String dimName,
String dimSpec) |
APIResult |
updateDimensionTable(String dimName,
String dimSpec) |
APIResult |
updateFactTable(String factName,
String factSpec) |
APIResult |
updatePartitionOfDim(String table,
String storage,
String partSpec) |
APIResult |
updatePartitionOfDim(String table,
String storage,
XPartition xp) |
APIResult |
updatePartitionOfFact(String table,
String storage,
String partSpec) |
APIResult |
updatePartitionOfFact(String table,
String storage,
XPartition xp) |
APIResult |
updatePartitionsOfDim(String table,
String storage,
String partsSpec) |
APIResult |
updatePartitionsOfDim(String table,
String storage,
XPartitionList xpList) |
APIResult |
updatePartitionsOfFact(String table,
String storage,
String partsSpec) |
APIResult |
updatePartitionsOfFact(String table,
String storage,
XPartitionList xpList) |
APIResult |
updateSegmentation(String segName,
String segSpec) |
APIResult |
updateStorage(String storageName,
String storageSpec) |