Codota Logo
RexPatternFieldRef
Code IndexAdd Codota to your IDE (free)

How to use
RexPatternFieldRef
in
org.apache.calcite.rex

Best Java code snippets using org.apache.calcite.rex.RexPatternFieldRef (Showing top 13 results out of 315)

  • Common ways to obtain RexPatternFieldRef
private void myMethod () {
RexPatternFieldRef r =
  • Codota IconString alpha;RexNode rexNode;RexPatternFieldRef.of(alpha, (RexInputRef)rexNode)
  • Smart code suggestions by Codota
}
origin: Qihoo360/Quicksql

public static RexPatternFieldRef of(String alpha, int index, RelDataType type) {
 return new RexPatternFieldRef(alpha, index, type);
}
origin: Qihoo360/Quicksql

@Override public Object visitPatternFieldRef(RexPatternFieldRef fieldRef) {
 patternVars.add(fieldRef.getAlpha());
 return null;
}
origin: Qihoo360/Quicksql

String pv = ref.getAlpha();
SqlNode refNode = field(ref.getIndex());
final SqlIdentifier id = (SqlIdentifier) refNode;
if (id.names.size() > 1) {
origin: org.apache.calcite/calcite-core

e = RexPatternFieldRef.of(pv, (RexInputRef) e);
origin: org.apache.calcite/calcite-core

String pv = ref.getAlpha();
SqlNode refNode = field(ref.getIndex());
final SqlIdentifier id = (SqlIdentifier) refNode;
if (id.names.size() > 1) {
origin: Qihoo360/Quicksql

e = RexPatternFieldRef.of(pv, (RexInputRef) e);
origin: org.apache.kylin/atopcalcite

e = RexPatternFieldRef.of(pv, (RexInputRef) e);
origin: org.apache.calcite/calcite-core

public static RexPatternFieldRef of(String alpha, int index, RelDataType type) {
 return new RexPatternFieldRef(alpha, index, type);
}
origin: org.apache.calcite/calcite-core

@Override public Object visitPatternFieldRef(RexPatternFieldRef fieldRef) {
 patternVars.add(fieldRef.getAlpha());
 return null;
}
origin: Qihoo360/Quicksql

/**
 * Creates a reference to a given field of the pattern.
 *
 * @param alpha the pattern name
 * @param type Type of field
 * @param i    Ordinal of field
 * @return Reference to field of pattern
 */
public RexPatternFieldRef makePatternFieldRef(String alpha, RelDataType type, int i) {
 type = SqlTypeUtil.addCharsetAndCollation(type, typeFactory);
 return new RexPatternFieldRef(alpha, i, type);
}
origin: org.apache.calcite/calcite-core

/**
 * Creates a reference to a given field of the pattern.
 *
 * @param alpha the pattern name
 * @param type Type of field
 * @param i    Ordinal of field
 * @return Reference to field of pattern
 */
public RexPatternFieldRef makePatternFieldRef(String alpha, RelDataType type, int i) {
 type = SqlTypeUtil.addCharsetAndCollation(type, typeFactory);
 return new RexPatternFieldRef(alpha, i, type);
}
origin: Qihoo360/Quicksql

public static RexPatternFieldRef of(String alpha, RexInputRef ref) {
 return new RexPatternFieldRef(alpha, ref.getIndex(), ref.getType());
}
origin: org.apache.calcite/calcite-core

public static RexPatternFieldRef of(String alpha, RexInputRef ref) {
 return new RexPatternFieldRef(alpha, ref.getIndex(), ref.getType());
}
org.apache.calcite.rexRexPatternFieldRef

Javadoc

Variable which references a field of an input relational expression

Most used methods

  • of
  • <init>
  • getAlpha
  • getIndex

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
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