Codota Logo
CalcitePrepareImpl$EmptyScalarTranslator.toRex
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
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: 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)));
}
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: 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

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 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: Qihoo360/Quicksql

public RexNode toRex(BlockStatement statement) {
 return toRex(Blocks.simple(statement));
}
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: 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

toRex(
  ((MemberExpression) expression).expression),
((MemberExpression) expression).field.getName(),
 type(call),
 operator,
 toRex(
   Expressions.<Expression>list()
     .appendIfNotNull(call.targetExpression)
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: Qihoo360/Quicksql

toRex(
  ((MemberExpression) expression).expression),
((MemberExpression) expression).field.getName(),
 type(call),
 operator,
 toRex(
   Expressions.<Expression>list()
     .appendIfNotNull(call.targetExpression)
org.apache.calcite.prepareCalcitePrepareImpl$EmptyScalarTranslatortoRex

Popular methods of CalcitePrepareImpl$EmptyScalarTranslator

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
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