T
- The type of the Record
instances managed by the
Logger
.public class SimpleDbQueryLoggerFactoryImpl<T> extends Object
QueryLogger
to create QueryLogger
instances
directly attached to Amazon SimpleDb.Constructor and Description |
---|
SimpleDbQueryLoggerFactoryImpl(String aSchemaPrefix,
String aAccessKey,
String aSecretKey,
String aEndPoint,
org.refcodes.tabular.ColumnFactory<T> aColumnFactory)
Instantiates a new simple db query logger factory impl.
|
Modifier and Type | Method and Description |
---|---|
org.refcodes.logger.QueryLogger<T> |
createInstance(String aSchemaSuffix) |
L |
createInstance(String aDomainSuffix,
Map<String,String> aProperties) |
protected String |
getAccessKey()
Retrieves the Amazon access key.
|
protected org.refcodes.tabular.ColumnFactory<T> |
getColumnFactory()
Retrieves the
ColumnFactory to be used. |
protected String |
getEndPoint()
Retrieves the Amazon SimpleDB end-point.
|
protected String |
getSchemaPrefix()
Provides access to the schema prefix.
|
protected String |
getSecretKey()
Retrieves the Amazon secret key.
|
public SimpleDbQueryLoggerFactoryImpl(String aSchemaPrefix, String aAccessKey, String aSecretKey, String aEndPoint, org.refcodes.tabular.ColumnFactory<T> aColumnFactory)
aSchemaPrefix
- the schema prefixaAccessKey
- the access keyaSecretKey
- the secret keyaEndPoint
- the end pointaColumnFactory
- the column factorypublic L createInstance(String aDomainSuffix, Map<String,String> aProperties)
createInstance
in interface org.refcodes.factory.LookupFactory<L extends org.refcodes.logger.Logger<T>,String>
protected String getSchemaPrefix()
protected String getAccessKey()
protected String getSecretKey()
protected String getEndPoint()
protected org.refcodes.tabular.ColumnFactory<T> getColumnFactory()
ColumnFactory
to be used.ColumnFactory
to be used.Copyright © 2018. All rights reserved.