public class DynamoDbDataContext extends QueryPostprocessDataContext implements UpdateableDataContext, java.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SCHEMA_NAME
The artificial schema name used by this DataContext.
|
static java.lang.String |
SYSTEM_PROPERTY_THROUGHPUT_READ_CAPACITY
System property key used for getting the read throughput capacity when
creating new tables.
|
static java.lang.String |
SYSTEM_PROPERTY_THROUGHPUT_WRITE_CAPACITY
System property key used for getting the write throughput capacity when
creating new tables.
|
INFORMATION_SCHEMA_NAME, SYSTEM_PROPERTY_CREATE_DEFAULT_TABLE_ALIAS| Constructor and Description |
|---|
DynamoDbDataContext() |
DynamoDbDataContext(com.amazonaws.services.dynamodbv2.AmazonDynamoDB client) |
DynamoDbDataContext(com.amazonaws.services.dynamodbv2.AmazonDynamoDB client,
SimpleTableDef[] tableDefs) |
DynamoDbDataContext(SimpleTableDef[] tableDefs) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected java.lang.Number |
executeCountQuery(Table table,
java.util.List<FilterItem> whereItems,
boolean functionApproximationAllowed) |
protected Row |
executePrimaryKeyLookupQuery(Table table,
java.util.List<SelectItem> selectItems,
Column primaryKeyColumn,
java.lang.Object keyValue) |
UpdateSummary |
executeUpdate(UpdateScript update) |
com.amazonaws.services.dynamodbv2.AmazonDynamoDB |
getDynamoDb() |
protected Schema |
getMainSchema() |
protected java.lang.String |
getMainSchemaName() |
protected DataSet |
materializeMainSchemaTable(Table table,
java.util.List<Column> columns,
int maxRows) |
addConverter, executeQuery, getDefaultSchemaName, getSchemaByNameInternal, getSchemaNamesInternal, isMainSchemaTable, isScalarFunctionMaterialized, materializeFromItem, materializeMainSchemaTable, 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 java.lang.String SYSTEM_PROPERTY_THROUGHPUT_READ_CAPACITY
public static final java.lang.String SYSTEM_PROPERTY_THROUGHPUT_WRITE_CAPACITY
public static final java.lang.String SCHEMA_NAME
public DynamoDbDataContext()
public DynamoDbDataContext(SimpleTableDef[] tableDefs)
public DynamoDbDataContext(com.amazonaws.services.dynamodbv2.AmazonDynamoDB client)
public DynamoDbDataContext(com.amazonaws.services.dynamodbv2.AmazonDynamoDB client,
SimpleTableDef[] tableDefs)
public com.amazonaws.services.dynamodbv2.AmazonDynamoDB getDynamoDb()
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableprotected Schema getMainSchema() throws MetaModelException
getMainSchema in class QueryPostprocessDataContextMetaModelExceptionprotected java.lang.String getMainSchemaName()
throws MetaModelException
getMainSchemaName in class QueryPostprocessDataContextMetaModelExceptionprotected java.lang.Number executeCountQuery(Table table, java.util.List<FilterItem> whereItems, boolean functionApproximationAllowed)
executeCountQuery in class QueryPostprocessDataContextprotected DataSet materializeMainSchemaTable(Table table, java.util.List<Column> columns, int maxRows)
materializeMainSchemaTable in class QueryPostprocessDataContextprotected Row executePrimaryKeyLookupQuery(Table table, java.util.List<SelectItem> selectItems, Column primaryKeyColumn, java.lang.Object keyValue)
executePrimaryKeyLookupQuery in class QueryPostprocessDataContextpublic UpdateSummary executeUpdate(UpdateScript update)
executeUpdate in interface UpdateableDataContextCopyright © 2007-2022. All Rights Reserved.