Codota Logo
EnumerableInterpreter.getRowType
Code IndexAdd Codota to your IDE (free)

How to use
getRowType
method
in
org.apache.calcite.adapter.enumerable.EnumerableInterpreter

Best Java code snippets using org.apache.calcite.adapter.enumerable.EnumerableInterpreter.getRowType (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: Qihoo360/Quicksql

 public Result implement(EnumerableRelImplementor implementor, Prefer pref) {
  final JavaTypeFactory typeFactory = implementor.getTypeFactory();
  final BlockBuilder builder = new BlockBuilder();
  final PhysType physType =
    PhysTypeImpl.of(typeFactory, getRowType(), JavaRowFormat.ARRAY);
  final Expression interpreter_ = builder.append("interpreter",
    Expressions.new_(Interpreter.class,
      implementor.getRootExpression(),
      implementor.stash(getInput(), RelNode.class)));
  final Expression sliced_ =
    getRowType().getFieldCount() == 1
      ? Expressions.call(BuiltInMethod.SLICE0.method, interpreter_)
      : interpreter_;
  builder.add(sliced_);
  return implementor.result(physType, builder.toBlock());
 }
}
origin: org.apache.calcite/calcite-core

 public Result implement(EnumerableRelImplementor implementor, Prefer pref) {
  final JavaTypeFactory typeFactory = implementor.getTypeFactory();
  final BlockBuilder builder = new BlockBuilder();
  final PhysType physType =
    PhysTypeImpl.of(typeFactory, getRowType(), JavaRowFormat.ARRAY);
  final Expression interpreter_ = builder.append("interpreter",
    Expressions.new_(Interpreter.class,
      implementor.getRootExpression(),
      implementor.stash(getInput(), RelNode.class)));
  final Expression sliced_ =
    getRowType().getFieldCount() == 1
      ? Expressions.call(BuiltInMethod.SLICE0.method, interpreter_)
      : interpreter_;
  builder.add(sliced_);
  return implementor.result(physType, builder.toBlock());
 }
}
org.apache.calcite.adapter.enumerableEnumerableInterpretergetRowType

Popular methods of EnumerableInterpreter

  • getInput
  • <init>
    Creates an EnumerableInterpreter.Use #create unless you know what you're doing.
  • create
    Creates an EnumerableInterpreter.
  • getCluster
  • getConvention
  • sole

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • onRequestPermissionsResult (Fragment)
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
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