public class LensMetadataClient extends Object
Constructor and Description |
---|
LensMetadataClient(LensConnection connection) |
public LensMetadataClient(LensConnection connection)
public String getCurrentDatabase()
public XNativeTable getNativeTable(String tblName)
public APIResult dropAllCubes()
public XFlattenedColumns getQueryableFields(String tableName, boolean flattened)
public XJoinChains getJoinChains(String tableName)
public APIResult dropAllDimensions()
public APIResult createDimension(XDimension dimension)
public APIResult updateDimension(String dimName, XDimension dimension)
public XDimension getDimension(String dimName)
public APIResult dropAllStorages()
public APIResult deleteAllFactTables(boolean cascade)
public APIResult deleteAllSegmentations()
public XSegmentation getSegmentation(String segName)
public APIResult createSegmentation(XSegmentation seg)
public APIResult updateSegmentation(String segName, XSegmentation seg)
public APIResult addStorageToFactTable(String factname, XStorageTableElement storage)
public APIResult dropStorageFromFactTable(String factName, String storageName)
public XStorageTableElement getStorageOfFactTable(String factName, String storageName)
public List<XPartition> getPartitionsOfFactTable(String factName, String storage, String filter)
public List<XPartition> getPartitionsOfFactTable(String factName, String storage)
public APIResult dropPartitionsOfFactTable(String factName, String storage, String filter)
public APIResult dropPartitionsOfFactTable(String factName, String storage)
public APIResult dropPartitionsOfFactTable(String factName, String storage, List<String> partitions)
public APIResult createDimensionTable(XDimensionTable table)
public APIResult updateDimensionTable(XDimensionTable table)
public XDimensionTable getDimensionTable(String table)
public APIResult addStorageToDimTable(String dimTblName, XStorageTableElement table)
public XStorageTableElement getStorageOfDimensionTable(String dimTblName, String storage)
public APIResult dropStoragesOfDimensionTable(String dimTblName, String storage)
public List<XPartition> getAllPartitionsOfDimensionTable(String dimTblName, String storage, String filter)
public List<XPartition> getAllPartitionsOfDimensionTable(String dimTblName, String storage)
public APIResult dropAllPartitionsOfDimensionTable(String dimTblName, String storage, String filter)
public APIResult dropAllPartitionsOfDimensionTable(String dimTblName, String storage)
public APIResult dropAllPartitionsOfDimensionTable(String dimTblName, String storage, List<String> vals)
public APIResult addPartitionToDimensionTable(String dimTblName, String storage, XPartition partition)
public APIResult addPartitionToDimensionTable(String dimTblName, String storage, String partitionSpec)
public APIResult addPartitionsToDimensionTable(String dimTblName, String storage, XPartitionList partitions)
public APIResult addPartitionsToDimensionTable(String dimTblName, String storage, String partitionsSpec)
public APIResult addPartitionToFactTable(String fact, String storage, XPartition partition)
public APIResult addPartitionToFactTable(String fact, String storage, String partitionSpec)
public APIResult addPartitionsToFactTable(String fact, String storage, XPartitionList partitions)
public APIResult addPartitionsToFactTable(String fact, String storage, String partitionsSpec)
public APIResult updatePartitionOfDimensionTable(String dimTblName, String storage, XPartition partition)
public APIResult updatePartitionOfDimensionTable(String dimTblName, String storage, String partitionSpec)
public APIResult updatePartitionsOfDimensionTable(String dimTblName, String storage, XPartitionList partitions)
public APIResult updatePartitionsOfDimensionTable(String dimTblName, String storage, String partitionsSpec)
public APIResult updatePartitionOfFactTable(String fact, String storage, XPartition partition)
public APIResult updatePartitionOfFactTable(String fact, String storage, String partitionSpec)
public APIResult updatePartitionsOfFactTable(String fact, String storage, XPartitionList partitions)
public APIResult updatePartitionsOfFactTable(String fact, String storage, String partitionsSpec)
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.