public class SalesforceDataContext extends QueryPostprocessDataContext implements UpdateableDataContext
| Modifier and Type | Field and Description |
|---|---|
static String |
SOQL_DATE_FORMAT_IN |
static String |
SOQL_DATE_FORMAT_OUT |
static String |
SOQL_DATE_TIME_FORMAT_IN |
static String |
SOQL_DATE_TIME_FORMAT_OUT |
static String |
SOQL_TIME_FORMAT_IN |
static String |
SOQL_TIME_FORMAT_OUT |
static TimeZone |
SOQL_TIMEZONE |
INFORMATION_SCHEMA_NAME| Constructor and Description |
|---|
SalesforceDataContext(String username,
String password,
String securityToken) |
SalesforceDataContext(String endpoint,
String username,
String password,
String securityToken) |
| Modifier and Type | Method and Description |
|---|---|
protected Number |
executeCountQuery(Table table,
List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
DataSet |
executeQuery(Query query) |
void |
executeUpdate(UpdateScript update) |
protected Schema |
getMainSchema() |
protected String |
getMainSchemaName() |
protected DataSet |
materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows) |
protected static void |
rewriteFilterItem(StringBuilder sb,
FilterItem filterItem) |
addConverter, executePrimaryKeyLookupQuery, getDefaultSchemaName, getMainSchemaInternal, getSchemaByNameInternal, getSchemaNamesInternal, isMainSchemaTable, materializeFromItem, materializeMainSchemaTable, materializeMainSchemaTable, materializeTablecompileQuery, executeQuery, executeQuery, getColumnByQualifiedLabel, getDefaultSchema, getSchemaByName, getSchemaNames, getSchemas, getTableByQualifiedLabel, isQualifiedPathDelim, parseQuery, query, refreshSchemasclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompileQuery, executeQuery, executeQuery, getColumnByQualifiedLabel, getDefaultSchema, getSchemaByName, getSchemaNames, getSchemas, getTableByQualifiedLabel, parseQuery, query, refreshSchemaspublic static final TimeZone SOQL_TIMEZONE
public static final String SOQL_DATE_FORMAT_IN
public static final String SOQL_DATE_FORMAT_OUT
public static final String SOQL_DATE_TIME_FORMAT_IN
public static final String SOQL_DATE_TIME_FORMAT_OUT
public static final String SOQL_TIME_FORMAT_IN
public static final String SOQL_TIME_FORMAT_OUT
public SalesforceDataContext(String endpoint, String username, String password, String securityToken)
protected Schema getMainSchema() throws MetaModelException
getMainSchema in class QueryPostprocessDataContextMetaModelExceptionprotected String getMainSchemaName() throws MetaModelException
getMainSchemaName in class QueryPostprocessDataContextMetaModelExceptionpublic DataSet executeQuery(Query query)
executeQuery in interface DataContextexecuteQuery in class QueryPostprocessDataContextprotected Number executeCountQuery(Table table, List<FilterItem> whereItems, boolean functionApproximationAllowed)
executeCountQuery in class QueryPostprocessDataContextprotected static void rewriteFilterItem(StringBuilder sb, FilterItem filterItem) throws UnsupportedOperationException
UnsupportedOperationExceptionprotected DataSet materializeMainSchemaTable(Table table, Column[] columns, int maxRows)
materializeMainSchemaTable in class QueryPostprocessDataContextpublic void executeUpdate(UpdateScript update)
executeUpdate in interface UpdateableDataContextCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.