OmniSciDB  a987f07e93
 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)
 
 HeavyDBSchema (String dataDir, HeavyDBParser dbParser, int dbPort, HeavyDBUser dbUser, SockTransportProperties skT)
 
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  }
com.mapd.calcite.parser.HeavyDBSchema.HeavyDBSchema ( String  dataDir,
HeavyDBParser  dbParser,
int  dbPort,
HeavyDBUser  dbUser,
SockTransportProperties  skT 
)
inline

Definition at line 58 of file HeavyDBSchema.java.

62  {
63  this(dataDir, dbParser, dbPort, dbUser, skT, null);
64  }

Member Function Documentation

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

Definition at line 102 of file HeavyDBSchema.java.

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

Definition at line 85 of file HeavyDBSchema.java.

85  {
86  Set<String> functionSet = new HashSet<String>();
87  return functionSet;
88  }
Collection<Function> com.mapd.calcite.parser.HeavyDBSchema.getFunctions ( String  string)
inline

Definition at line 79 of file HeavyDBSchema.java.

79  {
80  Collection<Function> functionCollection = new HashSet<Function>();
81  return functionCollection;
82  }
Schema com.mapd.calcite.parser.HeavyDBSchema.getSubSchema ( String  string)
inline

Definition at line 91 of file HeavyDBSchema.java.

91  {
92  return null;
93  }
Set<String> com.mapd.calcite.parser.HeavyDBSchema.getSubSchemaNames ( )
inline

Definition at line 96 of file HeavyDBSchema.java.

96  {
97  Set<String> hs = new HashSet<String>();
98  return hs;
99  }
Table com.mapd.calcite.parser.HeavyDBSchema.getTable ( String  string)
inline

Definition at line 67 of file HeavyDBSchema.java.

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

67  {
68  Table table = metaConnect.getTable(string);
69  return table;
70  }

+ Here is the caller graph for this function:

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

Definition at line 73 of file HeavyDBSchema.java.

73  {
74  Set<String> tableSet = metaConnect.getTables();
75  return tableSet;
76  }
RelProtoDataType com.mapd.calcite.parser.HeavyDBSchema.getType ( String  arg0)
inline

Definition at line 121 of file HeavyDBSchema.java.

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

Definition at line 126 of file HeavyDBSchema.java.

126  {
127  throw new UnsupportedOperationException("Not supported yet.");
128  }
boolean com.mapd.calcite.parser.HeavyDBSchema.isMutable ( )
inline

Definition at line 107 of file HeavyDBSchema.java.

107  {
108  throw new UnsupportedOperationException("Not supported yet.");
109  }
Schema com.mapd.calcite.parser.HeavyDBSchema.snapshot ( SchemaVersion  sv)
inline

Definition at line 116 of file HeavyDBSchema.java.

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

Definition at line 111 of file HeavyDBSchema.java.

111  {
112  metaConnect.updateMetaData(schema, table);
113  }

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: