Tabnine Logo
CalcitePrepareImpl$EmptyScalarTranslator.toRex
Code IndexAdd Tabnine to your IDE (free)

How to use
toRex
method
in
org.apache.calcite.prepare.CalcitePrepareImpl$EmptyScalarTranslator

Best Java code snippets using org.apache.calcite.prepare.CalcitePrepareImpl$EmptyScalarTranslator.toRex (Showing top 15 results out of 315)

origin: Qihoo360/Quicksql

private List<RexNode> toRex(List<Expression> expressions) {
 final List<RexNode> list = new ArrayList<>();
 for (Expression expression : expressions) {
  list.add(toRex(expression));
 }
 return list;
}
origin: org.apache.calcite/calcite-core

private List<RexNode> toRex(List<Expression> expressions) {
 final List<RexNode> list = new ArrayList<>();
 for (Expression expression : expressions) {
  list.add(toRex(expression));
 }
 return list;
}
origin: org.apache.kylin/atopcalcite

private List<RexNode> toRex(List<Expression> expressions) {
 final List<RexNode> list = new ArrayList<>();
 for (Expression expression : expressions) {
  list.add(toRex(expression));
 }
 return list;
}
origin: Qihoo360/Quicksql

toRex(
  ((MemberExpression) expression).expression),
((MemberExpression) expression).field.getName(),
 type(call),
 operator,
 toRex(
   Expressions.<Expression>list()
     .appendIfNotNull(call.targetExpression)
origin: org.apache.kylin/atopcalcite

toRex(
  ((MemberExpression) expression).expression),
((MemberExpression) expression).field.getName(),
 type(call),
 operator,
 toRex(
   Expressions.<Expression>list()
     .appendIfNotNull(call.targetExpression)
origin: org.apache.calcite/calcite-core

toRex(
  ((MemberExpression) expression).expression),
((MemberExpression) expression).field.getName(),
 type(call),
 operator,
 toRex(
   Expressions.<Expression>list()
     .appendIfNotNull(call.targetExpression)
origin: Qihoo360/Quicksql

public RexNode toRex(BlockStatement statement) {
 return toRex(Blocks.simple(statement));
}
origin: org.apache.kylin/atopcalcite

public RexNode toRex(BlockStatement statement) {
 return toRex(Blocks.simple(statement));
}
origin: org.apache.calcite/calcite-core

public RexNode toRex(BlockStatement statement) {
 return toRex(Blocks.simple(statement));
}
origin: org.apache.kylin/atopcalcite

private RexNode binary(Expression expression, SqlBinaryOperator op) {
 BinaryExpression call = (BinaryExpression) expression;
 return rexBuilder.makeCall(type(call), op,
   toRex(ImmutableList.of(call.expression0, call.expression1)));
}
origin: Qihoo360/Quicksql

public List<RexNode> toRexList(BlockStatement statement) {
 final List<Expression> simpleList = simpleList(statement);
 final List<RexNode> list = new ArrayList<>();
 for (Expression expression1 : simpleList) {
  list.add(toRex(expression1));
 }
 return list;
}
origin: Qihoo360/Quicksql

private RexNode binary(Expression expression, SqlBinaryOperator op) {
 BinaryExpression call = (BinaryExpression) expression;
 return rexBuilder.makeCall(type(call), op,
   toRex(ImmutableList.of(call.expression0, call.expression1)));
}
origin: org.apache.calcite/calcite-core

public List<RexNode> toRexList(BlockStatement statement) {
 final List<Expression> simpleList = simpleList(statement);
 final List<RexNode> list = new ArrayList<>();
 for (Expression expression1 : simpleList) {
  list.add(toRex(expression1));
 }
 return list;
}
origin: org.apache.kylin/atopcalcite

public List<RexNode> toRexList(BlockStatement statement) {
 final List<Expression> simpleList = simpleList(statement);
 final List<RexNode> list = new ArrayList<>();
 for (Expression expression1 : simpleList) {
  list.add(toRex(expression1));
 }
 return list;
}
origin: org.apache.calcite/calcite-core

private RexNode binary(Expression expression, SqlBinaryOperator op) {
 BinaryExpression call = (BinaryExpression) expression;
 return rexBuilder.makeCall(type(call), op,
   toRex(ImmutableList.of(call.expression0, call.expression1)));
}
org.apache.calcite.prepareCalcitePrepareImpl$EmptyScalarTranslatortoRex

Popular methods of CalcitePrepareImpl$EmptyScalarTranslator

  • <init>
  • binary
  • parameter
  • simpleList
  • type
  • empty

Popular in Java

  • Reading from database using SQL prepared statement
  • startActivity (Activity)
  • setScale (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Permission (java.security)
    Legacy security code; do not use.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ImageIO (javax.imageio)
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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