Tabnine Logo
CalciteConnectionConfig.typeSystem
Code IndexAdd Tabnine to your IDE (free)

How to use
typeSystem
method
in
org.apache.calcite.config.CalciteConnectionConfig

Best Java code snippets using org.apache.calcite.config.CalciteConnectionConfig.typeSystem (Showing top 4 results out of 315)

origin: qubole/quark

protected QuarkConnectionImpl(QuarkDriver driver, AvaticaFactory factory, String url,
               Properties info, CalciteRootSchema rootSchema,
               JavaTypeFactory typeFactory) throws SQLException {
 super(driver, factory, url, info);
 CalciteConnectionConfig cfg = new CalciteConnectionConfigImpl(info);
 if (typeFactory != null) {
  this.typeFactory = typeFactory;
 } else {
  final RelDataTypeSystem typeSystem =
    cfg.typeSystem(RelDataTypeSystem.class, RelDataTypeSystem.DEFAULT);
  this.typeFactory = new JavaTypeFactoryImpl(typeSystem);
 }
 this.properties.put(InternalProperty.CASE_SENSITIVE, cfg.caseSensitive());
 this.properties.put(InternalProperty.UNQUOTED_CASING, cfg.unquotedCasing());
 this.properties.put(InternalProperty.QUOTED_CASING, cfg.quotedCasing());
 this.properties.put(InternalProperty.QUOTING, cfg.quoting());
}
origin: qubole/quark

  cfg.typeSystem(RelDataTypeSystem.class, RelDataTypeSystem.DEFAULT);
this.typeFactory = new JavaTypeFactoryImpl(typeSystem);
this.unitTestMode = Boolean.parseBoolean(info.getProperty("unitTestMode", "false"));
origin: org.apache.calcite/calcite-core

} else {
 RelDataTypeSystem typeSystem =
   cfg.typeSystem(RelDataTypeSystem.class, RelDataTypeSystem.DEFAULT);
 if (cfg.conformance().shouldConvertRaggedUnionTypesToVarying()) {
  typeSystem =
origin: Qihoo360/Quicksql

} else {
 RelDataTypeSystem typeSystem =
   cfg.typeSystem(RelDataTypeSystem.class, RelDataTypeSystem.DEFAULT);
 if (cfg.conformance().shouldConvertRaggedUnionTypesToVarying()) {
  typeSystem =
org.apache.calcite.configCalciteConnectionConfigtypeSystem

Popular methods of CalciteConnectionConfig

  • caseSensitive
  • defaultNullCollation
  • quotedCasing
  • quoting
  • timeZone
  • unquotedCasing
  • autoTemp
  • conformance
  • forceDecorrelate
  • fun
  • materializationsEnabled
  • parserFactory
  • materializationsEnabled,
  • parserFactory,
  • approximateDecimal,
  • approximateDistinctCount,
  • approximateTopN,
  • createMaterializations,
  • model,
  • schema,
  • schemaFactory

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSystemService (Context)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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