public abstract class AbstractRecordStore extends AbstractObjectWithProperties implements RecordStore
| Constructor and Description |
|---|
AbstractRecordStore() |
AbstractRecordStore(RecordFactory recordFactory) |
clearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateWriter, getRowCountclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakpublic AbstractRecordStore()
public AbstractRecordStore(RecordFactory recordFactory)
public void addCodeTable(CodeTable codeTable)
addCodeTable in interface RecordStorepublic void addCodeTables(Collection<CodeTable> codeTables)
addCodeTables in interface RecordStoreprotected void addRecordDefinition(RecordDefinition recordDefinition)
protected void addRecordDefinitionProperties(RecordDefinitionImpl recordDefinition)
public void addRecordStoreExtension(RecordStoreExtension extension)
public void addStatistic(String statisticName, Record object)
addStatistic in interface RecordStorepublic void addStatistic(String statisticName, String typePath, int count)
addStatistic in interface RecordStorepublic void appendQueryValue(Query query, StringBuilder sql, QueryValue queryValue)
appendQueryValue in interface RecordStore@PreDestroy public void close()
close in interface RecordStoreclose in interface AutoCloseableclose in class AbstractObjectWithPropertiespublic Record copy(Record record)
copy in interface RecordStorepublic Record create(RecordDefinition objectRecordDefinition)
create in interface RecordStorepublic Record create(String typePath)
create in interface RecordStorepublic Record create(String typePath, Map<String,? extends Object> values)
create in interface RecordStorepublic AbstractIterator<Record> createIterator(Query query, Map<String,Object> properties)
public <T> T createPrimaryIdValue(String typePath)
createPrimaryIdValue in interface RecordStorepublic Query createQuery(String typePath, String whereClause, BoundingBoxDoubleGf boundingBox)
createQuery in interface RecordStorepublic RecordStoreQueryReader createReader()
public Transaction createTransaction(Propagation propagation)
createTransaction in interface RecordStorepublic Record createWithId(RecordDefinition recordDefinition)
createWithId in interface RecordStorepublic int delete(Query query)
delete in interface RecordStorepublic void delete(Record object)
delete in interface RecordStorepublic void deleteAll(Collection<Record> objects)
deleteAll in interface RecordStoreprotected RecordDefinition findRecordDefinition(String typePath)
public <V extends CodeTable> V getCodeTable(String typePath)
getCodeTable in interface RecordStorepublic CodeTable getCodeTableByFieldName(String columnName)
getCodeTableByFieldName in interface RecordStorepublic Map<String,CodeTable> getCodeTableByFieldNameMap()
getCodeTableByFieldNameMap in interface RecordStorepublic GeometryFactory getGeometryFactory()
getGeometryFactory in interface RecordStorepublic RecordStoreIteratorFactory getIteratorFactory()
public String getLabel()
getLabel in interface RecordStorepublic RecordDefinition getRecordDefinition(RecordDefinition objectRecordDefinition)
getRecordDefinition in interface RecordStorepublic RecordDefinition getRecordDefinition(String typePath)
RecordStoregetRecordDefinition in interface RecordDefinitionFactorygetRecordDefinition in interface RecordStoretypePath - The type name.public RecordFactory getRecordFactory()
getRecordFactory in interface RecordStorepublic Collection<RecordStoreExtension> getRecordStoreExtensions()
public RecordStoreSchema getRootSchema()
getRootSchema in interface RecordStorepublic RecordStoreSchema getSchema(String path)
getSchema in interface RecordStorepublic List<RecordStoreSchema> getSchemas()
RecordStoregetSchemas in interface RecordStoreprotected <T> T getSharedAttribute(String name)
public StatisticsMap getStatistics()
getStatistics in interface RecordStorepublic Statistics getStatistics(String name)
getStatistics in interface RecordStorepublic org.springframework.transaction.PlatformTransactionManager getTransactionManager()
getTransactionManager in interface RecordStorepublic List<String> getTypeNames(String schemaName)
RecordStoregetTypeNames in interface RecordStoreschemaName - The name space.public List<RecordDefinition> getTypes(String namespace)
getTypes in interface RecordStorepublic String getUrl()
getUrl in interface RecordStorepublic String getUsername()
getUsername in interface RecordStorepublic Writer<Record> getWriter()
getWriter in interface RecordStorepublic Writer<Record> getWriter(boolean throwExceptions)
getWriter in interface RecordStorepublic boolean hasSchema(String schemaName)
hasSchema in interface RecordStore@PostConstruct public void initialize()
initialize in interface RecordStorepublic void insert(Record record)
insert in interface RecordStorepublic void insertAll(Collection<Record> objects)
insertAll in interface RecordStorepublic boolean isEditable(String typePath)
isEditable in interface RecordStorepublic Record load(String typePath, Identifier id)
load in interface RecordStorepublic Record load(String typePath, Object... id)
load in interface RecordStorepublic Record lock(String typePath, Object id)
lock in interface RecordStorepublic ResultPager<Record> page(Query query)
page in interface RecordStorepublic Reader<Record> query(List<?> queries)
query in interface RecordStorepublic Reader<Record> query(Query... queries)
query in interface RecordStorepublic Reader<Record> query(String path)
query in interface RecordStorepublic Record queryFirst(Query query)
queryFirst in interface RecordStoreprotected void refreshSchema()
protected void refreshSchema(String schemaName)
protected Map<String,? extends RecordStoreSchemaElement> refreshSchemaElements(RecordStoreSchema schema)
public void setCodeTableColumNames(Map<String,List<String>> domainColumNames)
public void setCommonRecordDefinitionProperties(List<RecordDefinitionProperty> commonRecordDefinitionProperties)
protected void setConnectionProperties(Map<String,? extends Object> connectionProperties)
public void setGeometryFactory(GeometryFactory geometryFactory)
public void setIteratorFactory(RecordStoreIteratorFactory iteratorFactory)
public void setLabel(String label)
setLabel in interface RecordStorepublic void setLogCounts(boolean logCounts)
setLogCounts in interface RecordStorepublic void setRecordFactory(RecordFactory recordFactory)
setRecordFactory in interface RecordStorepublic void setTypeRecordDefinitionProperties(Map<String,List<RecordDefinitionProperty>> typeRecordDefinitionProperties)
public void update(Record object)
update in interface RecordStorepublic void updateAll(Collection<Record> objects)
updateAll in interface RecordStoreCopyright © 2015 Revolution Systems Inc.. All rights reserved.