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) |
APIResult |
closeConnection() |
APIResult |
createCube(String cubeSpec) |
APIResult |
createDatabase(String database,
boolean ignoreIfExists) |
APIResult |
createDimension(String dimSpec) |
APIResult |
createDimensionTable(String dimSpec) |
APIResult |
createFactTable(String factSpec) |
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 |
dropStorage(String storage) |
APIResult |
dropStorageFromDim(String dim,
String storage) |
APIResult |
dropStorageFromFact(String factName,
String storage) |
QueryHandle |
executePrepared(QueryPrepareHandle phandle,
String queryName) |
LensAPIResult<QueryHandle> |
executeQueryAsynch(String sql,
String queryName) |
LensAPIResult<QueryPlan> |
explainAndPrepare(String sql,
String queryName) |
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> |
getAllStorages() |
LensClient.LensClientResultSetWithStats |
getAsyncResults(QueryHandle q) |
static org.slf4j.Logger |
getCliLooger() |
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) |
XFactTable |
getFactTable(String factName) |
javax.ws.rs.core.Response |
getHttpResults() |
javax.ws.rs.core.Response |
getHttpResults(QueryHandle q) |
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,
long fromDate,
long toDate) |
LensPreparedQuery |
getPreparedQuery(QueryPrepareHandle phandle) |
List<QueryHandle> |
getQueries(String state,
String queryName,
String user,
long fromDate,
long 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) |
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) |
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 |
updateStorage(String storageName,
String storageSpec) |