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

Public Member Functions

 HeavyDBSchema (String dataDir, HeavyDBParser dbParser, int dbPort, HeavyDBUser dbUser, SockTransportProperties skT, String db)
 
Table getTable (String string)
 
Set< String > getTableNames ()
 
Collection< FunctiongetFunctions (String string)
 
Set< String > getFunctionNames ()
 
Schema getSubSchema (String string)
 
Set< String > getSubSchemaNames ()
 
Expression getExpression (SchemaPlus sp, String string)
 
boolean isMutable ()
 
Schema snapshot (SchemaVersion sv)
 
RelProtoDataType getType (String arg0)
 
Set< String > getTypeNames ()
 

Package Functions

void updateMetaData (String schema, String table)
 

Static Package Attributes

static final Logger HEAVYDBLOGGER = LoggerFactory.getLogger(HeavyDBSchema.class)
 

Private Attributes

final MetaConnect metaConnect
 
SockTransportProperties sock_transport_properties = null
 

Detailed Description

Definition at line 38 of file HeavyDBSchema.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.HeavyDBSchema.HeavyDBSchema ( String  dataDir,
HeavyDBParser  dbParser,
int  dbPort,
HeavyDBUser  dbUser,
SockTransportProperties  skT,
String  db 
)
inline

Definition at line 43 of file HeavyDBSchema.java.

References com.mapd.calcite.parser.HeavyDBSchema.metaConnect.

48  {
49  System.setProperty(
50  "saffron.default.charset", ConversionUtil.NATIVE_UTF16_CHARSET_NAME);
51  System.setProperty(
52  "saffron.default.nationalcharset", ConversionUtil.NATIVE_UTF16_CHARSET_NAME);
53  System.setProperty("saffron.default.collation.name",
54  ConversionUtil.NATIVE_UTF16_CHARSET_NAME + "$en_US");
55  metaConnect = new MetaConnect(dbPort, dataDir, dbUser, dbParser, skT, db);
56  }

Member Function Documentation

Expression com.mapd.calcite.parser.HeavyDBSchema.getExpression ( SchemaPlus  sp,
String  string 
)
inline

Definition at line 94 of file HeavyDBSchema.java.

94  {
95  throw new UnsupportedOperationException("Not supported yet.");
96  }
Set<String> com.mapd.calcite.parser.HeavyDBSchema.getFunctionNames ( )
inline

Definition at line 77 of file HeavyDBSchema.java.

77  {
78  Set<String> functionSet = new HashSet<String>();
79  return functionSet;
80  }
Collection<Function> com.mapd.calcite.parser.HeavyDBSchema.getFunctions ( String  string)
inline

Definition at line 71 of file HeavyDBSchema.java.

71  {
72  Collection<Function> functionCollection = new HashSet<Function>();
73  return functionCollection;
74  }
Schema com.mapd.calcite.parser.HeavyDBSchema.getSubSchema ( String  string)
inline

Definition at line 83 of file HeavyDBSchema.java.

83  {
84  return null;
85  }
Set<String> com.mapd.calcite.parser.HeavyDBSchema.getSubSchemaNames ( )
inline

Definition at line 88 of file HeavyDBSchema.java.

88  {
89  Set<String> hs = new HashSet<String>();
90  return hs;
91  }
Table com.mapd.calcite.parser.HeavyDBSchema.getTable ( String  string)
inline

Definition at line 59 of file HeavyDBSchema.java.

Referenced by com.mapd.calcite.parser.HeavyDBParser.resolveSelectIdentifiers().

59  {
60  Table table = metaConnect.getTable(string);
61  return table;
62  }

+ Here is the caller graph for this function:

Set<String> com.mapd.calcite.parser.HeavyDBSchema.getTableNames ( )
inline

Definition at line 65 of file HeavyDBSchema.java.

65  {
66  Set<String> tableSet = metaConnect.getTables();
67  return tableSet;
68  }
RelProtoDataType com.mapd.calcite.parser.HeavyDBSchema.getType ( String  arg0)
inline

Definition at line 113 of file HeavyDBSchema.java.

113  {
114  throw new UnsupportedOperationException("Not supported yet.");
115  }
Set<String> com.mapd.calcite.parser.HeavyDBSchema.getTypeNames ( )
inline

Definition at line 118 of file HeavyDBSchema.java.

118  {
119  throw new UnsupportedOperationException("Not supported yet.");
120  }
boolean com.mapd.calcite.parser.HeavyDBSchema.isMutable ( )
inline

Definition at line 99 of file HeavyDBSchema.java.

99  {
100  throw new UnsupportedOperationException("Not supported yet.");
101  }
Schema com.mapd.calcite.parser.HeavyDBSchema.snapshot ( SchemaVersion  sv)
inline

Definition at line 108 of file HeavyDBSchema.java.

108  {
109  throw new UnsupportedOperationException("Not supported yet.");
110  }
void com.mapd.calcite.parser.HeavyDBSchema.updateMetaData ( String  schema,
String  table 
)
inlinepackage

Definition at line 103 of file HeavyDBSchema.java.

103  {
104  metaConnect.updateMetaData(schema, table);
105  }

Member Data Documentation

final Logger com.mapd.calcite.parser.HeavyDBSchema.HEAVYDBLOGGER = LoggerFactory.getLogger(HeavyDBSchema.class)
staticpackage

Definition at line 39 of file HeavyDBSchema.java.

final MetaConnect com.mapd.calcite.parser.HeavyDBSchema.metaConnect
private
SockTransportProperties com.mapd.calcite.parser.HeavyDBSchema.sock_transport_properties = null
private

Definition at line 42 of file HeavyDBSchema.java.


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