Codota Logo
CubeMetastoreClient.createVirtualFactTable
Code IndexAdd Codota to your IDE (free)

How to use
createVirtualFactTable
method
in
org.apache.lens.cube.metadata.CubeMetastoreClient

Best Java code snippets using org.apache.lens.cube.metadata.CubeMetastoreClient.createVirtualFactTable (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: apache/lens

client.createVirtualFactTable(VIRTUAL_CUBE_NAME, virtualFactName, sourceFactName, null,
 virtualFactPropertiesMap);
assertTrue(client.tableExists(virtualFactName));
origin: org.apache.lens/lens-cube

public void createFactTable(XFact fact) throws LensException {
 if (fact instanceof XVirtualFactTable) {
  XVirtualFactTable xvf = (XVirtualFactTable) fact;
  createVirtualFactTable(xvf.getCubeName(), xvf.getName(), xvf.getSourceFactName(),
   xvf.getWeight(), JAXBUtils.mapFromXProperties(xvf.getProperties()));
 } else {
  XFactTable xf = (XFactTable) fact;
  createCubeFactTable(fact.getCubeName(),
   fact.getName(),
   JAXBUtils.fieldSchemaListFromColumns(xf.getColumns()),
   JAXBUtils.getFactUpdatePeriodsFromStorageTables(xf.getStorageTables()),
   xf.getWeight(),
   addFactColStartTimePropertyToFactProperties(xf),
   JAXBUtils.tableDescPrefixMapFromXStorageTables(xf.getStorageTables()),
   JAXBUtils.storageTablePrefixMapOfStorage(xf.getStorageTables()));
 }
}
origin: apache/lens

public void createFactTable(XFact fact) throws LensException {
 if (fact instanceof XVirtualFactTable) {
  XVirtualFactTable xvf = (XVirtualFactTable) fact;
  createVirtualFactTable(xvf.getCubeName(), xvf.getName(), xvf.getSourceFactName(),
   xvf.getWeight(), JAXBUtils.mapFromXProperties(xvf.getProperties()));
 } else {
  XFactTable xf = (XFactTable) fact;
  createCubeFactTable(fact.getCubeName(),
   fact.getName(),
   JAXBUtils.fieldSchemaListFromColumns(xf.getColumns()),
   JAXBUtils.getFactUpdatePeriodsFromStorageTables(xf.getStorageTables()),
   xf.getWeight(),
   addFactColStartTimePropertyToFactProperties(xf),
   JAXBUtils.tableDescPrefixMapFromXStorageTables(xf.getStorageTables()),
   JAXBUtils.storageTablePrefixMapOfStorage(xf.getStorageTables()),
   JAXBUtils.getStorageTablePartitionColumnsFromTableDescs(xf.getStorageTables()));
 }
}
org.apache.lens.cube.metadataCubeMetastoreClientcreateVirtualFactTable

Popular methods of CubeMetastoreClient

  • getInstance
    Get the instance of CubeMetastoreClient corresponding to HiveConf
  • getHiveTable
    Get the hive Table corresponding to the name
  • createCubeDimensionTable
  • createStorage
  • getConf
    Get cube metastore client conf
  • addPartitions
    batch addition
  • alterCube
  • alterCubeDimensionTable
  • alterCubeFactTable
  • alterDimension
    Alter dimension specified by the dimension name to new definition
  • alterSegmentation
  • createCube
    Create cube in metastore defined by Cube or DerivedCube object
  • alterSegmentation,
  • createCube,
  • createDimension,
  • createSegmentation,
  • dropSegmentation,
  • dropStorageFromDim,
  • dropStorageFromFact,
  • getAllCubes,
  • getAllDimensionTables,
  • getAllFacts

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now