OmniSciDB  085a039ca4
 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

Author
michael

Definition at line 31 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 36 of file HeavyDBSchema.java.

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

41  {
42  System.setProperty(
43  "saffron.default.charset", ConversionUtil.NATIVE_UTF16_CHARSET_NAME);
44  System.setProperty(
45  "saffron.default.nationalcharset", ConversionUtil.NATIVE_UTF16_CHARSET_NAME);
46  System.setProperty("saffron.default.collation.name",
47  ConversionUtil.NATIVE_UTF16_CHARSET_NAME + "$en_US");
48  metaConnect = new MetaConnect(dbPort, dataDir, dbUser, dbParser, skT, db);
49  }
com.mapd.calcite.parser.HeavyDBSchema.HeavyDBSchema ( String  dataDir,
HeavyDBParser  dbParser,
int  dbPort,
HeavyDBUser  dbUser,
SockTransportProperties  skT 
)
inline

Definition at line 51 of file HeavyDBSchema.java.

55  {
56  this(dataDir, dbParser, dbPort, dbUser, skT, null);
57  }

Member Function Documentation

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

Definition at line 95 of file HeavyDBSchema.java.

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

Definition at line 78 of file HeavyDBSchema.java.

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

Definition at line 72 of file HeavyDBSchema.java.

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

Definition at line 84 of file HeavyDBSchema.java.

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

Definition at line 89 of file HeavyDBSchema.java.

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

Definition at line 60 of file HeavyDBSchema.java.

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

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

+ Here is the caller graph for this function:

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

Definition at line 66 of file HeavyDBSchema.java.

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

Definition at line 114 of file HeavyDBSchema.java.

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

Definition at line 119 of file HeavyDBSchema.java.

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

Definition at line 100 of file HeavyDBSchema.java.

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

Definition at line 109 of file HeavyDBSchema.java.

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

Definition at line 104 of file HeavyDBSchema.java.

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

Member Data Documentation

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

Definition at line 32 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 35 of file HeavyDBSchema.java.


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