Tabnine Logo
CubeMetastoreClient.dropVirtualFact
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: apache/lens

private void dropAllVirtualFactTables(String cubeFactTableName) throws LensException {
 if (enableCaching) {
  cubeFactTableName = cubeFactTableName.trim().toLowerCase();
  if (factToVirtualFactMapping.get(cubeFactTableName) != null) {
   List<String> virtualFactTableNames = factToVirtualFactMapping.get(cubeFactTableName);
   factToVirtualFactMapping.remove(cubeFactTableName);
   for (String vf : virtualFactTableNames) {
    dropVirtualFact(vf.trim().toLowerCase());
   }
  }
 }
}
origin: org.apache.lens/lens-cube

private void dropAllVirtualFactTables(String cubeFactTableName) throws LensException {
 if (enableCaching) {
  cubeFactTableName = cubeFactTableName.trim().toLowerCase();
  if (factToVirtualFactMapping.get(cubeFactTableName) != null) {
   List<String> virtualFactTableNames = factToVirtualFactMapping.get(cubeFactTableName);
   factToVirtualFactMapping.remove(cubeFactTableName);
   for (String vf : virtualFactTableNames) {
    dropVirtualFact(vf.trim().toLowerCase());
   }
  }
 }
}
origin: apache/lens

 client.dropVirtualFact(virtualFactName);
 fail("Expected 404");
} catch (LensException nfe) {
org.apache.lens.cube.metadataCubeMetastoreClientdropVirtualFact

Javadoc

Drop a virtual fact

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 post requests using okhttp
  • setContentView (Activity)
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now