OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.calcite.parser.HeavyDBTypeSystem Class Reference
+ Inheritance diagram for com.mapd.calcite.parser.HeavyDBTypeSystem:
+ Collaboration diagram for com.mapd.calcite.parser.HeavyDBTypeSystem:

Public Member Functions

 HeavyDBTypeSystem ()
 
int getMaxPrecision (SqlTypeName typeName)
 
boolean isSchemaCaseSensitive ()
 
boolean shouldConvertRaggedUnionTypesToVarying ()
 

Detailed Description

Definition at line 22 of file HeavyDBTypeSystem.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBTypeSystem.HeavyDBTypeSystem ( )
inline

Definition at line 23 of file HeavyDBTypeSystem.java.

23 {}

Member Function Documentation

int com.mapd.calcite.parser.HeavyDBTypeSystem.getMaxPrecision ( SqlTypeName  typeName)
inline

Definition at line 26 of file HeavyDBTypeSystem.java.

References typeName().

26  {
27  // Nanoseconds for timestamps
28  return (typeName == SqlTypeName.TIMESTAMP) ? 9 : super.getMaxPrecision(typeName);
29  }
std::string typeName(const T *v)
Definition: toString.h:106

+ Here is the call graph for this function:

boolean com.mapd.calcite.parser.HeavyDBTypeSystem.isSchemaCaseSensitive ( )
inline

Definition at line 32 of file HeavyDBTypeSystem.java.

32  {
33  return false;
34  }
boolean com.mapd.calcite.parser.HeavyDBTypeSystem.shouldConvertRaggedUnionTypesToVarying ( )
inline

Definition at line 37 of file HeavyDBTypeSystem.java.

37  {
38  // this makes sure that CHAR literals are translated into VARCHAR literals
39  // mostly to avoid padding / trimming
40  return true;
41  }

The documentation for this class was generated from the following file: