Tabnine Logo
XDerivedCube.setProperties
Code IndexAdd Tabnine to your IDE (free)

How to use
setProperties
method
in
org.apache.lens.api.metastore.XDerivedCube

Best Java code snippets using org.apache.lens.api.metastore.XDerivedCube.setProperties (Showing top 3 results out of 315)

origin: org.apache.lens/lens-api

@Override
public XDerivedCube withProperties(XProperties value) {
  setProperties(value);
  return this;
}
origin: apache/lens

@Override
public XDerivedCube withProperties(XProperties value) {
  setProperties(value);
  return this;
}
origin: apache/lens

private XDerivedCube createDerivedCube(String cubeName, String parent, boolean addExtraFields) throws Exception {
 XDerivedCube cube = cubeObjectFactory.createXDerivedCube();
 cube.setName(cubeName);
 cube.setDimAttrNames(new XDimAttrNames());
 cube.setMeasureNames(new XMeasureNames());
 cube.setProperties(new XProperties());
 cube.getDimAttrNames().getAttrName().add("dim1");
 cube.getMeasureNames().getMeasureName().add("msr1");
 if (addExtraFields) {
  cube.getDimAttrNames().getAttrName().add("random_dim");
  cube.getMeasureNames().getMeasureName().add("random_measure");
 }
 XProperty xp1 = cubeObjectFactory.createXProperty();
 xp1.setName("derived.foo");
 xp1.setValue("derived.bar");
 cube.getProperties().getProperty().add(xp1);
 cube.setParent(parent);
 return cube;
}
org.apache.lens.api.metastoreXDerivedCubesetProperties

Popular methods of XDerivedCube

  • getDimAttrNames
    Gets the value of the dimAttrNames property.
  • getMeasureNames
    Gets the value of the measureNames property.
  • getParent
    Gets the value of the parent property.
  • setDimAttrNames
    Sets the value of the dimAttrNames property.
  • setMeasureNames
    Sets the value of the measureNames property.
  • setParent
    Sets the value of the parent property.
  • setName
  • <init>
  • append
  • appendFields
  • equals
  • getName
  • equals,
  • getName,
  • getProperties,
  • hashCode,
  • setDescription

Popular in Java

  • Updating database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • requestLocationUpdates (LocationManager)
  • Menu (java.awt)
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Notification (javax.management)
  • JFileChooser (javax.swing)
  • Top PhpStorm 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