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

Public Member Functions

 MapDSchema (String dataDir, MapDParser mp, int mapdPort, MapDUser mapdUser, SockTransportProperties skT, String db)
 
 MapDSchema (String dataDir, MapDParser mp, int mapdPort, MapDUser mapdUser, 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 MAPDLOGGER = LoggerFactory.getLogger(MapDSchema.class)
 

Private Attributes

final MetaConnect metaConnect
 
SockTransportProperties sock_transport_properties = null
 

Detailed Description

Author
michael

Definition at line 31 of file MapDSchema.java.

Constructor & Destructor Documentation

com.mapd.calcite.parser.MapDSchema.MapDSchema ( String  dataDir,
MapDParser  mp,
int  mapdPort,
MapDUser  mapdUser,
SockTransportProperties  skT,
String  db 
)
inline

Definition at line 36 of file MapDSchema.java.

References com.mapd.calcite.parser.MapDSchema.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(mapdPort, dataDir, mapdUser, mp, skT, db);
49  }
com.mapd.calcite.parser.MapDSchema.MapDSchema ( String  dataDir,
MapDParser  mp,
int  mapdPort,
MapDUser  mapdUser,
SockTransportProperties  skT 
)
inline

Definition at line 51 of file MapDSchema.java.

55  {
56  this(dataDir, mp, mapdPort, mapdUser, skT, null);
57  }

Member Function Documentation

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

Definition at line 95 of file MapDSchema.java.

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

Definition at line 78 of file MapDSchema.java.

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

Definition at line 72 of file MapDSchema.java.

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

Definition at line 84 of file MapDSchema.java.

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

Definition at line 89 of file MapDSchema.java.

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

Definition at line 60 of file MapDSchema.java.

Referenced by com.mapd.calcite.parser.MapDParser.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.MapDSchema.getTableNames ( )
inline

Definition at line 66 of file MapDSchema.java.

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

Definition at line 114 of file MapDSchema.java.

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

Definition at line 119 of file MapDSchema.java.

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

Definition at line 100 of file MapDSchema.java.

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

Definition at line 109 of file MapDSchema.java.

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

Definition at line 104 of file MapDSchema.java.

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

Member Data Documentation

final Logger com.mapd.calcite.parser.MapDSchema.MAPDLOGGER = LoggerFactory.getLogger(MapDSchema.class)
staticpackage

Definition at line 32 of file MapDSchema.java.

final MetaConnect com.mapd.calcite.parser.MapDSchema.metaConnect
private

Definition at line 34 of file MapDSchema.java.

Referenced by com.mapd.calcite.parser.MapDSchema.MapDSchema().

SockTransportProperties com.mapd.calcite.parser.MapDSchema.sock_transport_properties = null
private

Definition at line 35 of file MapDSchema.java.


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