public class Neo4jDataContext extends QueryPostprocessDataContext implements DataContext, DocumentSourceProvider
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
static String |
SCHEMA_NAME |
INFORMATION_SCHEMA_NAME, SYSTEM_PROPERTY_CREATE_DEFAULT_TABLE_ALIAS| Constructor and Description |
|---|
Neo4jDataContext(String hostname,
int port,
org.apache.http.impl.client.CloseableHttpClient httpClient) |
Neo4jDataContext(String hostname,
int port,
org.apache.http.impl.client.CloseableHttpClient httpClient,
SimpleTableDef... tableDefs) |
Neo4jDataContext(String hostname,
int port,
org.apache.http.impl.client.CloseableHttpClient httpClient,
String serviceRoot) |
Neo4jDataContext(String hostname,
int port,
org.apache.http.impl.client.CloseableHttpClient httpClient,
String serviceRoot,
SimpleTableDef... tableDefs) |
Neo4jDataContext(String hostname,
int port,
String username,
String password) |
Neo4jDataContext(String hostname,
int port,
String username,
String password,
SimpleTableDef... tableDefs) |
Neo4jDataContext(String hostname,
int port,
String username,
String password,
String serviceRoot) |
Neo4jDataContext(String hostname,
int port,
String username,
String password,
String serviceRoot,
SimpleTableDef... tableDefs) |
| Modifier and Type | Method and Description |
|---|---|
SimpleTableDef[] |
detectTableDefs() |
protected Number |
executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected String |
getDefaultSchemaName() |
DocumentSource |
getDocumentSourceForTable(String sourceCollectionName) |
protected Schema |
getMainSchema() |
protected String |
getMainSchemaName() |
DocumentSource |
getMixedDocumentSourceForSampling() |
protected DataSet |
materializeMainSchemaTable(Table table,
List<Column> columns,
int maxRows) |
protected DataSet |
materializeMainSchemaTable(Table table,
List<Column> columns,
int firstRow,
int maxRows) |
addConverter, executePrimaryKeyLookupQuery, executeQuery, getSchemaByNameInternal, getSchemaNamesInternal, isMainSchemaTable, isScalarFunctionMaterialized, materializeFromItem, materializeMainSchemaTable, materializeMainSchemaTableSelect, materializeTablecompileQuery, executeQuery, executeQuery, getColumnByQualifiedLabel, getDefaultSchema, getSchemaByName, getSchemaNames, getSchemas, getTableByQualifiedLabel, isQualifiedPathDelim, onSchemaCacheRefreshed, parseQuery, query, refreshSchemasclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompileQuery, executeQuery, executeQuery, executeQuery, getColumnByQualifiedLabel, getDefaultSchema, getSchemaByName, getSchemaNames, getSchemas, getTableByQualifiedLabel, parseQuery, query, refreshSchemaspublic static final String SCHEMA_NAME
public static final int DEFAULT_PORT
public Neo4jDataContext(String hostname, int port, String username, String password, SimpleTableDef... tableDefs)
public Neo4jDataContext(String hostname, int port, String username, String password, String serviceRoot, SimpleTableDef... tableDefs)
public Neo4jDataContext(String hostname, int port, String username, String password)
public Neo4jDataContext(String hostname, int port, String username, String password, String serviceRoot)
public Neo4jDataContext(String hostname, int port, org.apache.http.impl.client.CloseableHttpClient httpClient)
public Neo4jDataContext(String hostname, int port, org.apache.http.impl.client.CloseableHttpClient httpClient, String serviceRoot)
public Neo4jDataContext(String hostname, int port, org.apache.http.impl.client.CloseableHttpClient httpClient, SimpleTableDef... tableDefs)
public Neo4jDataContext(String hostname, int port, org.apache.http.impl.client.CloseableHttpClient httpClient, String serviceRoot, SimpleTableDef... tableDefs)
protected String getDefaultSchemaName() throws MetaModelException
getDefaultSchemaName in class QueryPostprocessDataContextMetaModelExceptionprotected Schema getMainSchema() throws MetaModelException
getMainSchema in class QueryPostprocessDataContextMetaModelExceptionprotected String getMainSchemaName() throws MetaModelException
getMainSchemaName in class QueryPostprocessDataContextMetaModelExceptionpublic SimpleTableDef[] detectTableDefs()
protected DataSet materializeMainSchemaTable(Table table, List<Column> columns, int firstRow, int maxRows)
materializeMainSchemaTable in class QueryPostprocessDataContextprotected DataSet materializeMainSchemaTable(Table table, List<Column> columns, int maxRows)
materializeMainSchemaTable in class QueryPostprocessDataContextprotected Number executeCountQuery(Table table, List<FilterItem> whereItems, boolean functionApproximationAllowed)
executeCountQuery in class QueryPostprocessDataContextpublic DocumentSource getMixedDocumentSourceForSampling()
getMixedDocumentSourceForSampling in interface DocumentSourceProviderpublic DocumentSource getDocumentSourceForTable(String sourceCollectionName)
getDocumentSourceForTable in interface DocumentSourceProviderCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.