Tabnine Logo
XVirtualFactTable.setCubeName
Code IndexAdd Tabnine to your IDE (free)

How to use
setCubeName
method
in
org.apache.lens.api.metastore.XVirtualFactTable

Best Java code snippets using org.apache.lens.api.metastore.XVirtualFactTable.setCubeName (Showing top 5 results out of 315)

origin: org.apache.lens/lens-api

@Override
public XVirtualFactTable withCubeName(String value) {
  setCubeName(value);
  return this;
}
origin: apache/lens

@Override
public XVirtualFactTable withCubeName(String value) {
  setCubeName(value);
  return this;
}
origin: org.apache.lens/lens-cube

public static XVirtualFactTable virtualFactTableFromVirtualCubeFactTable(CubeVirtualFactTable vFact) {
 XVirtualFactTable fact = XCF.createXVirtualFactTable();
 fact.setName(vFact.getName());
 fact.setProperties(new XProperties());
 fact.getProperties().getProperty().addAll(xPropertiesFromMap(vFact.getProperties()));
 fact.setWeight(vFact.weight());
 fact.setSourceFactName(vFact.getSourceCubeFactTable().getName());
 fact.setCubeName(vFact.getCubeName());
 return fact;
}
origin: apache/lens

public static XVirtualFactTable virtualFactTableFromVirtualCubeFactTable(CubeVirtualFactTable vFact) {
 XVirtualFactTable fact = XCF.createXVirtualFactTable();
 fact.setName(vFact.getName());
 fact.setProperties(new XProperties());
 fact.getProperties().getProperty().addAll(xPropertiesFromMap(vFact.getProperties()));
 fact.setWeight(vFact.weight());
 fact.setSourceFactName(vFact.getSourceCubeFactTable().getName());
 fact.setCubeName(vFact.getCubeName());
 return fact;
}
origin: apache/lens

private XVirtualFactTable createVirtualFactTable(String factName, final String cubeName, String sourceFactName) {
 XVirtualFactTable f = cubeObjectFactory.createXVirtualFactTable();
 f.setProperties(new XProperties());
 f.setName(factName);
 f.setWeight(10.0);
 f.setCubeName(cubeName);
 f.setSourceFactName(sourceFactName);
 Map<String, String> properties = LensUtil.getHashMap("foo1", "bar1");
 f.getProperties().getProperty().addAll(JAXBUtils.xPropertiesFromMap(properties));
 return f;
}
org.apache.lens.api.metastoreXVirtualFactTablesetCubeName

Popular methods of XVirtualFactTable

  • getProperties
    Gets the value of the properties property.
  • getWeight
    Gets the value of the weight property.
  • setName
  • setProperties
    Sets the value of the properties property.
  • setSourceFactName
    Sets the value of the sourceFactName property.
  • setWeight
    Sets the value of the weight property.
  • getName
  • getSourceFactName
    Gets the value of the sourceFactName property.
  • <init>
  • append
  • appendFields
  • equals
  • appendFields,
  • equals,
  • getCubeName,
  • hashCode,
  • setDescription

Popular in Java

  • Updating database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • onRequestPermissionsResult (Fragment)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Best IntelliJ plugins
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