Tabnine Logo
RelDataTypeFactory.createUnknownType
Code IndexAdd Tabnine to your IDE (free)

How to use
createUnknownType
method
in
org.apache.calcite.rel.type.RelDataTypeFactory

Best Java code snippets using org.apache.calcite.rel.type.RelDataTypeFactory.createUnknownType (Showing top 3 results out of 315)

origin: apache/flink

/**
 * Creates a validator.
 *
 * @param opTab         Operator table
 * @param catalogReader Catalog reader
 * @param typeFactory   Type factory
 * @param conformance   Compatibility mode
 */
protected SqlValidatorImpl(
  SqlOperatorTable opTab,
  SqlValidatorCatalogReader catalogReader,
  RelDataTypeFactory typeFactory,
  SqlConformance conformance) {
  this.opTab = Objects.requireNonNull(opTab);
  this.catalogReader = Objects.requireNonNull(catalogReader);
  this.typeFactory = Objects.requireNonNull(typeFactory);
  this.conformance = Objects.requireNonNull(conformance);
  unknownType = typeFactory.createUnknownType();
  booleanType = typeFactory.createSqlType(SqlTypeName.BOOLEAN);
  rewriteCalls = true;
  expandColumnReferences = true;
  aggFinder = new AggFinder(opTab, false, true, false, null);
  aggOrOverFinder = new AggFinder(opTab, true, true, false, null);
  overFinder = new AggFinder(opTab, true, false, false, aggOrOverFinder);
  groupFinder = new AggFinder(opTab, false, false, true, null);
  aggOrOverOrGroupFinder = new AggFinder(opTab, true, true, true, null);
}
origin: Qihoo360/Quicksql

/**
 * Creates a validator.
 *
 * @param opTab         Operator table
 * @param catalogReader Catalog reader
 * @param typeFactory   Type factory
 * @param conformance   Compatibility mode
 */
protected SqlValidatorImpl(
  SqlOperatorTable opTab,
  SqlValidatorCatalogReader catalogReader,
  RelDataTypeFactory typeFactory,
  SqlConformance conformance) {
 this.opTab = Objects.requireNonNull(opTab);
 this.catalogReader = Objects.requireNonNull(catalogReader);
 this.typeFactory = Objects.requireNonNull(typeFactory);
 this.conformance = Objects.requireNonNull(conformance);
 unknownType = typeFactory.createUnknownType();
 booleanType = typeFactory.createSqlType(SqlTypeName.BOOLEAN);
 rewriteCalls = true;
 expandColumnReferences = true;
 aggFinder = new AggFinder(opTab, false, true, false, null);
 aggOrOverFinder = new AggFinder(opTab, true, true, false, null);
 overFinder = new AggFinder(opTab, true, false, false, aggOrOverFinder);
 groupFinder = new AggFinder(opTab, false, false, true, null);
 aggOrOverOrGroupFinder = new AggFinder(opTab, true, true, true, null);
}
origin: org.apache.calcite/calcite-core

/**
 * Creates a validator.
 *
 * @param opTab         Operator table
 * @param catalogReader Catalog reader
 * @param typeFactory   Type factory
 * @param conformance   Compatibility mode
 */
protected SqlValidatorImpl(
  SqlOperatorTable opTab,
  SqlValidatorCatalogReader catalogReader,
  RelDataTypeFactory typeFactory,
  SqlConformance conformance) {
 this.opTab = Objects.requireNonNull(opTab);
 this.catalogReader = Objects.requireNonNull(catalogReader);
 this.typeFactory = Objects.requireNonNull(typeFactory);
 this.conformance = Objects.requireNonNull(conformance);
 unknownType = typeFactory.createUnknownType();
 booleanType = typeFactory.createSqlType(SqlTypeName.BOOLEAN);
 rewriteCalls = true;
 expandColumnReferences = true;
 aggFinder = new AggFinder(opTab, false, true, false, null);
 aggOrOverFinder = new AggFinder(opTab, true, true, false, null);
 overFinder = new AggFinder(opTab, true, false, false, aggOrOverFinder);
 groupFinder = new AggFinder(opTab, false, false, true, null);
 aggOrOverOrGroupFinder = new AggFinder(opTab, true, true, true, null);
}
org.apache.calcite.rel.typeRelDataTypeFactorycreateUnknownType

Javadoc

Creates a SQL type that represents the "unknown" type. It is only equal to itself, and is distinct from the NULL type.

Popular methods of RelDataTypeFactory

  • createSqlType
    Creates a SQL type with precision and scale.
  • createTypeWithNullability
    Creates a type that is the same as another type but with possibly different nullability. The output
  • createStructType
    Creates a type that represents a structured collection of fields, given lists of the names and types
  • builder
    Creates a org.apache.calcite.rel.type.RelDataTypeFactory.FieldInfoBuilder. But since FieldInfoBuilde
  • createMapType
    Creates a map type. Maps are unordered collections of key/value pairs.
  • getTypeSystem
    Returns the type system.
  • createArrayType
    Creates an array type. Arrays are ordered collections of elements.
  • createJavaType
    Creates a type that corresponds to a Java class.
  • createSqlIntervalType
    Creates a SQL interval type.
  • createTypeWithCharsetAndCollation
    Creates a type that is the same as another type but with possibly different charset or collation. Fo
  • leastRestrictive
    Returns the most general of a set of types (that is, one type to which they can all be cast), or nul
  • createMultisetType
    Creates a multiset type. Multisets are unordered collections of elements.
  • leastRestrictive,
  • createMultisetType,
  • copyType,
  • getDefaultCharset,
  • createJoinType,
  • useDoubleMultiplication

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • getSharedPreferences (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • JFileChooser (javax.swing)
  • JTextField (javax.swing)
  • 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