This project has retired. For details please refer to its Attic page.
Uses of Class org.apache.lens.cube.metadata.UpdatePeriod (Lens 2.0.1-beta-incubating API)

Uses of Class
org.apache.lens.cube.metadata.UpdatePeriod

Packages that use UpdatePeriod
org.apache.lens.cube.metadata   
org.apache.lens.cube.parse   
org.apache.lens.server.metastore   
 

Uses of UpdatePeriod in org.apache.lens.cube.metadata
 

Methods in org.apache.lens.cube.metadata that return UpdatePeriod
 UpdatePeriod StoragePartitionDesc.getUpdatePeriod()
           
static UpdatePeriod CubeFactTable.maxIntervalInRange(Date from, Date to, Set<UpdatePeriod> updatePeriods)
          Get the max update period for the given range and available update periods
static UpdatePeriod UpdatePeriod.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UpdatePeriod[] UpdatePeriod.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.apache.lens.cube.metadata that return types with arguments of type UpdatePeriod
 Map<String,UpdatePeriod> CubeDimensionTable.getSnapshotDumpPeriods()
           
 Map<String,Set<UpdatePeriod>> CubeFactTable.getUpdatePeriods()
           
 

Methods in org.apache.lens.cube.metadata with parameters of type UpdatePeriod
 void CubeMetastoreClient.addStorage(CubeDimensionTable dim, String storage, UpdatePeriod dumpPeriod, StorageTableDesc storageTableDesc)
          Adds storage to dimension and creates corresponding storage table
 void CubeFactTable.addUpdatePeriod(String storage, UpdatePeriod period)
          Add update period to storage
 void CubeDimensionTable.alterSnapshotDumpPeriod(String storage, UpdatePeriod period)
          Alter snapshot dump period of a storage
 int UpdatePeriod.UpdatePeriodComparator.compare(UpdatePeriod o1, UpdatePeriod o2)
           
 void CubeMetastoreClient.dropPartition(String cubeTableName, String storageName, Map<String,Date> timePartSpec, Map<String,String> nonTimePartSpec, UpdatePeriod updatePeriod)
          Add a partition specified by the storage partition desc on the storage passed.
 List<String> CubeFactTable.getPartitions(Date fromDate, Date toDate, UpdatePeriod interval)
          Get partition value strings for given range, for the specified updateInterval
 boolean CubeMetastoreClient.partitionExists(String storageTableName, UpdatePeriod updatePeriod, Map<String,Date> partitionTimestamps)
           
 void CubeFactTable.removeUpdatePeriod(String storage, UpdatePeriod period)
          Remove update period from storage
 void StoragePartitionDesc.setUpdatePeriod(UpdatePeriod updatePeriod)
           
 

Method parameters in org.apache.lens.cube.metadata with type arguments of type UpdatePeriod
 void CubeMetastoreClient.addStorage(CubeFactTable fact, String storage, Set<UpdatePeriod> updatePeriods, StorageTableDesc storageTableDesc)
          Adds storage to fact and creates corresponding storage table
 void CubeFactTable.alterStorage(String storage, Set<UpdatePeriod> updatePeriods)
          Alter a storage with specified update periods
 void CubeMetastoreClient.createCubeDimensionTable(String dimName, String dimTblName, List<org.apache.hadoop.hive.metastore.api.FieldSchema> columns, double weight, Map<String,UpdatePeriod> dumpPeriods, Map<String,String> properties, Map<String,StorageTableDesc> storageTableDescs)
          Create a cube dimension table
 void CubeMetastoreClient.createCubeFactTable(String cubeName, String factName, List<org.apache.hadoop.hive.metastore.api.FieldSchema> columns, Map<String,Set<UpdatePeriod>> storageAggregatePeriods, double weight, Map<String,String> properties, Map<String,StorageTableDesc> storageTableDescs)
          Create a cube fact table
static UpdatePeriod CubeFactTable.maxIntervalInRange(Date from, Date to, Set<UpdatePeriod> updatePeriods)
          Get the max update period for the given range and available update periods
 

Constructors in org.apache.lens.cube.metadata with parameters of type UpdatePeriod
StoragePartitionDesc(String cubeTableName, Map<String,Date> timePartSpec, Map<String,String> nonTimePartSpec, UpdatePeriod updatePeriod)
           
 

Constructor parameters in org.apache.lens.cube.metadata with type arguments of type UpdatePeriod
CubeDimensionTable(String dimName, String dimTblName, List<org.apache.hadoop.hive.metastore.api.FieldSchema> columns, double weight, Map<String,UpdatePeriod> snapshotDumpPeriods)
           
CubeDimensionTable(String dimName, String dimTblName, List<org.apache.hadoop.hive.metastore.api.FieldSchema> columns, double weight, Map<String,UpdatePeriod> snapshotDumpPeriods, Map<String,String> properties)
           
CubeFactTable(String cubeName, String factName, List<org.apache.hadoop.hive.metastore.api.FieldSchema> columns, Map<String,Set<UpdatePeriod>> storageUpdatePeriods)
           
CubeFactTable(String cubeName, String factName, List<org.apache.hadoop.hive.metastore.api.FieldSchema> columns, Map<String,Set<UpdatePeriod>> storageUpdatePeriods, double weight)
           
CubeFactTable(String cubeName, String factName, List<org.apache.hadoop.hive.metastore.api.FieldSchema> columns, Map<String,Set<UpdatePeriod>> storageUpdatePeriods, double weight, Map<String,String> properties)
           
 

Uses of UpdatePeriod in org.apache.lens.cube.parse
 

Methods in org.apache.lens.cube.parse with parameters of type UpdatePeriod
static Date DateUtil.getCeilDate(Date fromDate, UpdatePeriod interval)
           
static Date DateUtil.getFloorDate(Date toDate, UpdatePeriod interval)
           
static String CubeQueryConfUtil.getLookAheadPTPartsKey(UpdatePeriod interval)
           
 

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

Methods in org.apache.lens.server.metastore that return types with arguments of type UpdatePeriod
static Map<String,UpdatePeriod> JAXBUtils.dumpPeriodsFromStorageTables(XStorageTables storageTables)
           
static Map<String,Set<UpdatePeriod>> JAXBUtils.getFactUpdatePeriodsFromStorageTables(XStorageTables storageTables)
           
 



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