Tabnine Logo
OutputAttribute.getRename
Code IndexAdd Tabnine to your IDE (free)

How to use
getRename
method
in
org.wso2.siddhi.query.api.execution.query.selection.OutputAttribute

Best Java code snippets using org.wso2.siddhi.query.api.execution.query.selection.OutputAttribute.getRename (Showing top 5 results out of 315)

origin: wso2/siddhi

private void checkSelection(OutputAttribute newAttribute) {
  for (OutputAttribute attribute : selectionList) {
    if (attribute.getRename().equals(newAttribute.getRename())) {
      throw new DuplicateAttributeException(newAttribute.getRename() + " is already defined as an output " +
          "attribute ", newAttribute.getQueryContextStartIndex(), attribute.getQueryContextEndIndex());
    }
  }
}
origin: org.wso2.siddhi/siddhi-query-api

private void checkSelection(OutputAttribute newAttribute) {
  for (OutputAttribute attribute : selectionList) {
    if (attribute.getRename().equals(newAttribute.getRename())) {
      throw new DuplicateAttributeException(newAttribute.getRename() + " is already defined as an output " +
          "attribute ", newAttribute.getQueryContextStartIndex(), attribute.getQueryContextEndIndex());
    }
  }
}
origin: apache/eagle

  private static List<StreamColumn> convertOutputStreamColumns(List<OutputAttribute> outputAttributeList) {
    return outputAttributeList.stream().map(outputAttribute -> {
      StreamColumn streamColumn = new StreamColumn();
      streamColumn.setName(outputAttribute.getRename());
      streamColumn.setDescription(outputAttribute.getExpression().toString());
      return streamColumn;
    }).collect(Collectors.toList());
  }
}
origin: org.apache.eagle/eagle-policy-base

List<OutputAttribute> list = query.getSelector().getSelectionList();
for (OutputAttribute output : list) {
  outputFields.add(output.getRename());
origin: org.wso2.carbon.analytics/org.wso2.carbon.siddhi.editor.core

  /**
   * Generates a SelectedAttribute object from the given Siddhi OutputAttribute
   * @param outputAttribute                   Siddhi OutputAttribute object
   * @return                                  SelectedAttribute object
   * @throws DesignGenerationException        Error while getting the definition of the OutputAttribute
   */
  private SelectedAttribute generateSelectedAttribute(OutputAttribute outputAttribute)
      throws DesignGenerationException {
    SelectedAttribute selectedAttribute =
        new SelectedAttribute(
            ConfigBuildingUtilities.getDefinition(outputAttribute.getExpression(), siddhiAppString),
            outputAttribute.getRename());
    preserveAndBindCodeSegment(outputAttribute, selectedAttribute);
    return selectedAttribute;

  }
}
org.wso2.siddhi.query.api.execution.query.selectionOutputAttributegetRename

Popular methods of OutputAttribute

  • getExpression
  • <init>
  • getQueryContextEndIndex
  • getQueryContextStartIndex

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • addToBackStack (FragmentTransaction)
  • getSystemService (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Top 12 Jupyter Notebook extensions
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