This project has retired. For details please refer to its
Attic page.
HDFSStorage (Lens 2.0.1-beta-incubating API)
org.apache.lens.cube.metadata
Class HDFSStorage
java.lang.Object
org.apache.lens.cube.metadata.AbstractCubeTable
org.apache.lens.cube.metadata.Storage
org.apache.lens.cube.metadata.HDFSStorage
- All Implemented Interfaces:
- Named, PartitionMetahook
public class HDFSStorage
- extends Storage
Methods inherited from class org.apache.lens.cube.metadata.AbstractCubeTable |
addProperties, alterWeight, equals, getAllFieldNames, getColumns, getName, getProperties, getWeight, hashCode, removeProperty, toString, weight |
HDFSStorage
public HDFSStorage(String name)
HDFSStorage
public HDFSStorage(org.apache.hadoop.hive.ql.metadata.Table hiveTable)
preAddPartition
public void preAddPartition(StoragePartitionDesc addPartitionDesc)
throws org.apache.hadoop.hive.ql.metadata.HiveException
- Description copied from interface:
PartitionMetahook
- Called before calling add partition
- Throws:
org.apache.hadoop.hive.ql.metadata.HiveException
commitAddPartition
public void commitAddPartition(StoragePartitionDesc addPartitionDesc)
throws org.apache.hadoop.hive.ql.metadata.HiveException
- Description copied from interface:
PartitionMetahook
- Called after successfully adding the partition
- Throws:
org.apache.hadoop.hive.ql.metadata.HiveException
rollbackAddPartition
public void rollbackAddPartition(StoragePartitionDesc addPartitionDesc)
throws org.apache.hadoop.hive.ql.metadata.HiveException
- Description copied from interface:
PartitionMetahook
- Called if add partition fails.
- Throws:
org.apache.hadoop.hive.ql.metadata.HiveException
preDropPartition
public void preDropPartition(String storageTableName,
List<String> partVals)
throws org.apache.hadoop.hive.ql.metadata.HiveException
- Description copied from interface:
PartitionMetahook
- Called before calling drop partition
- Throws:
org.apache.hadoop.hive.ql.metadata.HiveException
commitDropPartition
public void commitDropPartition(String storageTableName,
List<String> partVals)
throws org.apache.hadoop.hive.ql.metadata.HiveException
- Description copied from interface:
PartitionMetahook
- Called after successfully droping the partition
- Throws:
org.apache.hadoop.hive.ql.metadata.HiveException
rollbackDropPartition
public void rollbackDropPartition(String storageTableName,
List<String> partVals)
throws org.apache.hadoop.hive.ql.metadata.HiveException
- Description copied from interface:
PartitionMetahook
- Called if drop partition fails.
- Throws:
org.apache.hadoop.hive.ql.metadata.HiveException
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.