Uses of Class
org.apache.lens.api.APIResult

Packages that use APIResult
org.apache.lens.client   
org.apache.lens.server.metastore   
org.apache.lens.server.query   
org.apache.lens.server.session   
org.apache.lens.server.ui   
 

Uses of APIResult in org.apache.lens.client
 

Methods in org.apache.lens.client that return APIResult
 APIResult LensClient.addFileResource(String path)
           
 APIResult LensClient.addJarResource(String path)
           
 APIResult LensClient.addPartitionsToDim(String table, String storage, String partsSpec)
           
 APIResult LensMetadataClient.addPartitionsToDimensionTable(String dimTblName, String storage, String partitions)
           
 APIResult LensMetadataClient.addPartitionsToDimensionTable(String dimTblName, String storage, XPartitionList partitions)
           
 APIResult LensClient.addPartitionsToFact(String table, String storage, String partsSpec)
           
 APIResult LensMetadataClient.addPartitionsToFactTable(String fact, String storage, String partitions)
           
 APIResult LensMetadataClient.addPartitionsToFactTable(String fact, String storage, XPartitionList partitions)
           
 APIResult LensClient.addPartitionToDim(String table, String storage, String partSpec)
           
 APIResult LensMetadataClient.addPartitionToDimensionTable(String dimTblName, String storage, String partition)
           
 APIResult LensMetadataClient.addPartitionToDimensionTable(String dimTblName, String storage, XPartition partition)
           
 APIResult LensClient.addPartitionToFact(String table, String storage, String partSpec)
           
 APIResult LensMetadataClient.addPartitionToFactTable(String fact, String storage, String partition)
           
 APIResult LensMetadataClient.addPartitionToFactTable(String fact, String storage, XPartition partition)
           
 APIResult LensConnection.addResourceToConnection(String type, String resourcePath)
          Adds the resource to connection.
 APIResult LensClient.addStorageToDim(String dim, String storage)
           
 APIResult LensMetadataClient.addStorageToDimTable(String dimTblName, String table)
           
 APIResult LensMetadataClient.addStorageToDimTable(String dimTblName, XStorageTableElement table)
           
 APIResult LensClient.addStorageToFact(String factName, String spec)
           
 APIResult LensMetadataClient.addStorageToFactTable(String factname, String storage)
           
 APIResult LensMetadataClient.addStorageToFactTable(String factname, XStorageTableElement storage)
           
 APIResult LensConnection.attachDatabaseToSession()
          Attach database to session.
 APIResult LensConnection.close()
          Close.
 APIResult LensClient.closeConnection()
           
 APIResult LensMetadataClient.createCube(String cubeSpec)
           
 APIResult LensClient.createCube(String cubeSpec)
           
 APIResult LensMetadataClient.createCube(XCube cube)
           
 APIResult LensMetadataClient.createDatabase(String database)
           
 APIResult LensMetadataClient.createDatabase(String database, boolean ignoreIfExists)
           
 APIResult LensClient.createDatabase(String database, boolean ignoreIfExists)
           
 APIResult LensMetadataClient.createDimension(String dimSpec)
           
 APIResult LensClient.createDimension(String dimSpec)
           
 APIResult LensMetadataClient.createDimension(XDimension dimension)
           
 APIResult LensMetadataClient.createDimensionTable(String tableXml)
           
 APIResult LensClient.createDimensionTable(String dimSpec)
           
 APIResult LensMetadataClient.createDimensionTable(XDimensionTable table)
           
 APIResult LensMetadataClient.createFactTable(String factSpec)
           
 APIResult LensClient.createFactTable(String factSpec)
           
 APIResult LensMetadataClient.createFactTable(XFactTable f)
           
 APIResult LensMetadataClient.createNewStorage(String storage)
           
 APIResult LensMetadataClient.createNewStorage(XStorage storage)
           
 APIResult LensClient.createStorage(String storageSpec)
           
 APIResult LensMetadataClient.deleteAllFactTables(boolean cascade)
           
 APIResult LensMetadataClient.dropAllCubes()
           
 APIResult LensMetadataClient.dropAllDimensions()
           
 APIResult LensClient.dropAllPartitionsOfDim(String dim, String storage)
           
 APIResult LensClient.dropAllPartitionsOfDim(String dim, String storage, String list)
           
 APIResult LensMetadataClient.dropAllPartitionsOfDimensionTable(String dimTblName, String storage)
           
 APIResult LensMetadataClient.dropAllPartitionsOfDimensionTable(String dimTblName, String storage, List<String> vals)
           
 APIResult LensMetadataClient.dropAllPartitionsOfDimensionTable(String dimTblName, String storage, String filter)
           
 APIResult LensClient.dropAllPartitionsOfFact(String fact, String storage)
           
 APIResult LensClient.dropAllPartitionsOfFact(String fact, String storage, String list)
           
 APIResult LensMetadataClient.dropAllStorages()
           
 APIResult LensClient.dropAllStoragesOfDim(String table)
           
 APIResult LensMetadataClient.dropAllStoragesOfDimension(String dimTblName)
           
 APIResult LensClient.dropAllStoragesOfFact(String table)
           
 APIResult LensMetadataClient.dropAllStoragesOfFactTable(String factName)
           
 APIResult LensMetadataClient.dropCube(String cubeName)
           
 APIResult LensClient.dropCube(String cube)
           
 APIResult LensMetadataClient.dropDatabase(String database)
           
 APIResult LensClient.dropDatabase(String database)
           
 APIResult LensMetadataClient.dropDatabase(String database, boolean cascade)
           
 APIResult LensMetadataClient.dropDimension(String dimName)
           
 APIResult LensClient.dropDimension(String dimName)
           
 APIResult LensMetadataClient.dropDimensionTable(String table)
           
 APIResult LensMetadataClient.dropDimensionTable(String table, boolean cascade)
           
 APIResult LensClient.dropDimensionTable(String dim, boolean cascade)
           
 APIResult LensMetadataClient.dropFactTable(String factName)
           
 APIResult LensMetadataClient.dropFactTable(String factName, boolean cascade)
           
 APIResult LensClient.dropFactTable(String fact, boolean cascade)
           
 APIResult LensMetadataClient.dropPartitionsOfFactTable(String factName, String storage)
           
 APIResult LensMetadataClient.dropPartitionsOfFactTable(String factName, String storage, List<String> partitions)
           
 APIResult LensMetadataClient.dropPartitionsOfFactTable(String factName, String storage, String filter)
           
 APIResult LensMetadataClient.dropStorage(String storageName)
           
 APIResult LensClient.dropStorage(String storage)
           
 APIResult LensClient.dropStorageFromDim(String dim, String storage)
           
 APIResult LensClient.dropStorageFromFact(String factName, String storage)
           
 APIResult LensMetadataClient.dropStorageFromFactTable(String factName, String storageName)
           
 APIResult LensMetadataClient.dropStoragesOfDimensionTable(String dimTblName, String storage)
           
 APIResult LensClient.removeFileResource(String path)
           
 APIResult LensClient.removeJarResource(String path)
           
 APIResult LensConnection.removeResourceFromConnection(String type, String resourcePath)
          Removes the resource from connection.
 APIResult LensClient.setConnectionParam(String key, String val)
           
 APIResult LensConnection.setConnectionParams(String key, String value)
          Sets the connection params.
 APIResult LensMetadataClient.setDatabase(String database)
           
 APIResult LensMetadataClient.updateCube(String cubeName, String cubeSpec)
           
 APIResult LensClient.updateCube(String cubeName, String cubeSpec)
           
 APIResult LensMetadataClient.updateCube(String cubeName, XCube cube)
           
 APIResult LensMetadataClient.updateDimension(String dimName, String dimSpec)
           
 APIResult LensClient.updateDimension(String dimName, String dimSpec)
           
 APIResult LensMetadataClient.updateDimension(String dimName, XDimension dimension)
           
 APIResult LensMetadataClient.updateDimensionTable(String dimTblName, String dimSpec)
           
 APIResult LensClient.updateDimensionTable(String dimName, String dimSpec)
           
 APIResult LensMetadataClient.updateDimensionTable(XDimensionTable table)
           
 APIResult LensMetadataClient.updateFactTable(String factName, String table)
           
 APIResult LensClient.updateFactTable(String factName, String factSpec)
           
 APIResult LensMetadataClient.updateFactTable(String factName, XFactTable table)
           
 APIResult LensMetadataClient.updateStorage(String storageName, String storage)
           
 APIResult LensClient.updateStorage(String storageName, String storageSpec)
           
 APIResult LensMetadataClient.updateStorage(String storageName, XStorage storage)
           
 

Uses of APIResult in org.apache.lens.server.metastore
 

Fields in org.apache.lens.server.metastore declared as APIResult
static APIResult MetastoreResource.SUCCESS
           
 

Methods in org.apache.lens.server.metastore that return APIResult
 APIResult MetastoreResource.addPartitionsToDimStorage(LensSessionHandle sessionid, String dimTableName, String storage, XPartitionList partitions)
          Add new partitions for a storage of dimension
 APIResult MetastoreResource.addPartitionsToFactStorage(LensSessionHandle sessionid, String factName, String storage, XPartitionList partitions)
          Batch Add partitions for a storage of fact
 APIResult MetastoreResource.addPartitionToDimStorage(LensSessionHandle sessionid, String dimTableName, String storage, XPartition partition)
          Add a new partition for a storage of dimension
 APIResult MetastoreResource.addPartitionToFactStorage(LensSessionHandle sessionid, String factName, String storage, XPartition partition)
          Add a new partition for a storage of fact
 APIResult MetastoreResource.addStorageToFact(LensSessionHandle sessionid, String factName, XStorageTableElement storageTable)
          Add storage to fact table
 APIResult MetastoreResource.createDatabase(LensSessionHandle sessionid, boolean ignoreIfExisting, String dbName)
          Create a new database
 APIResult MetastoreResource.createDimension(LensSessionHandle sessionid, XDimension dimension)
          Create new dimension
 APIResult MetastoreResource.createDimensionStorage(LensSessionHandle sessionid, String dimTableName, XStorageTableElement storageTbl)
          Add storage to dimension table
 APIResult MetastoreResource.createDimensionTable(LensSessionHandle sessionid, XDimensionTable dimensionTable)
          Create a new dimension table
 APIResult MetastoreResource.createFactTable(LensSessionHandle sessionid, XFactTable fact)
          Create a new fact tabble
 APIResult MetastoreResource.createNewCube(LensSessionHandle sessionid, XCube cube)
          Create a new cube
 APIResult MetastoreResource.createNewStorage(LensSessionHandle sessionid, XStorage storage)
          Create new storage
 APIResult MetastoreResource.deleteAllCubes(LensSessionHandle sessionid)
          Delete all cubes
 APIResult MetastoreResource.deleteAllDimensions(LensSessionHandle sessionid)
          Delete all dimensions in metastore
 APIResult MetastoreResource.deleteAllFacts(LensSessionHandle sessionid, boolean cascade)
          Delete all fact tables
 APIResult MetastoreResource.deleteAllStorages(LensSessionHandle sessionid)
          Delete all storages in metastore
 APIResult MetastoreResource.dropAllStoragesOfDim(LensSessionHandle sessionid, String dimTableName)
          Drop all the storage tables of a dimension table
 APIResult MetastoreResource.dropAllStoragesOfFact(LensSessionHandle sessionid, String factName)
          Drop all the storage tables of a fact table
 APIResult MetastoreResource.dropCube(LensSessionHandle sessionid, String cubeName)
          Drop the cube, specified by name
 APIResult MetastoreResource.dropDatabase(LensSessionHandle sessionid, String dbName, boolean cascade)
          Delete the db specified by name.
 APIResult MetastoreResource.dropDimension(LensSessionHandle sessionid, String dimName)
          Drop the dimension, specified by name
 APIResult MetastoreResource.dropDimensionTable(LensSessionHandle sessionid, String dimension, boolean cascade)
          Drop the dimension table, specified by name
 APIResult MetastoreResource.dropFactTable(LensSessionHandle sessionid, String factName, boolean cascade)
          Drop the fact table, specified by name
 APIResult MetastoreResource.dropPartitionOfFactStorageByValues(LensSessionHandle sessionid, String factName, String storage, String values)
          Drop the partitions in the storage of a fact table, specified by exact values
 APIResult MetastoreResource.dropPartitionsOfDimStorageByFilter(LensSessionHandle sessionid, String dimTableName, String storage, String filter)
          Drop the partitions in the storage of a dimension table; can specified filter as well
 APIResult MetastoreResource.dropPartitionsOfDimStorageByValue(LensSessionHandle sessionid, String dimTableName, String storage, String values)
          Drop the partitions in the storage of a dimension table, specified by exact values
 APIResult MetastoreResource.dropPartitionsOfFactStorageByFilter(LensSessionHandle sessionid, String factName, String storage, String filter)
          Drop the partitions in the storage of a fact; can specified filter as well
 APIResult MetastoreResource.dropStorage(LensSessionHandle sessionid, String storageName)
          Drop the storage, specified by name
 APIResult MetastoreResource.dropStorageFromFact(LensSessionHandle sessionid, String factName, String storage)
          Drop the storage of a fact, specified by name
 APIResult MetastoreResource.dropStorageOfDim(LensSessionHandle sessionid, String dimTableName, String storage)
          Drop the storage of a dimension table, specified by name
 APIResult MetastoreResource.setDatabase(LensSessionHandle sessionid, String dbName)
          Set the current db
 APIResult MetastoreResource.updateCube(LensSessionHandle sessionid, String cubeName, XCube cube)
          Update cube definition
 APIResult MetastoreResource.updateCubeDimension(LensSessionHandle sessionid, String dimTableName, XDimensionTable dimensionTable)
          Update dimension table definition
 APIResult MetastoreResource.updateDimension(LensSessionHandle sessionid, String dimName, XDimension dimension)
          Update dimension definition
 APIResult MetastoreResource.updateFactTable(LensSessionHandle sessionid, String factName, XFactTable fact)
          Update fact table definition
 APIResult MetastoreResource.updateStorage(LensSessionHandle sessionid, String storageName, XStorage storage)
          Update storage definition
 

Uses of APIResult in org.apache.lens.server.query
 

Methods in org.apache.lens.server.query that return APIResult
 APIResult QueryServiceResource.cancelAllQueries(LensSessionHandle sessionid, String state, String user, String queryName, long fromDate, long toDate)
          Cancel all the queries in query server; can be filtered with state and user.
 APIResult QueryServiceResource.cancelQuery(LensSessionHandle sessionid, String queryHandle)
          Cancel the query specified by the handle.
 APIResult QueryServiceResource.closeResultSet(LensSessionHandle sessionid, String queryHandle)
          Close the result set once fetching is done.
 APIResult QueryServiceResource.destroyPrepared(LensSessionHandle sessionid, String prepareHandle)
          Destroy the prepared query specified by handle.
 APIResult QueryServiceResource.destroyPreparedQueries(LensSessionHandle sessionid, String user, String queryName, long fromDate, long toDate)
          Destroy all the prepared queries; Can be filtered with user.
 APIResult QueryServiceResource.updateConf(LensSessionHandle sessionid, String queryHandle, LensConf conf)
          Modify query configuration if it is not running yet.
 APIResult QueryServiceResource.updatePreparedConf(LensSessionHandle sessionid, String prepareHandle, LensConf conf)
          Modify prepared query's configuration.
 

Uses of APIResult in org.apache.lens.server.session
 

Methods in org.apache.lens.server.session that return APIResult
 APIResult SessionResource.addResource(LensSessionHandle sessionid, String type, String path)
          Add a resource to the session to all LensServices running in this Lens server

 APIResult SessionResource.closeSession(LensSessionHandle sessionid)
          Close a Lens server session.
 APIResult SessionResource.deleteResource(LensSessionHandle sessionid, String type, String path)
          Delete a resource from sesssion from all the @{link LensService}s running in this Lens server
 APIResult SessionResource.setParam(LensSessionHandle sessionid, String key, String value)
          Set value for a parameter specified by key

The parameters can be a hive variable or a configuration.

 

Uses of APIResult in org.apache.lens.server.ui
 

Methods in org.apache.lens.server.ui that return APIResult
 APIResult QueryServiceUIResource.cancelQuery(UUID publicId, String queryHandle)
          Cancel the query specified by the handle.
 APIResult SessionUIResource.closeSession(UUID publicId)
          Close a Lens server session.
 



Copyright © 2014–2015 Apache Software Foundation. All rights reserved.