public class DirectoryRecordStore extends AbstractRecordStore
| Constructor and Description |
|---|
DirectoryRecordStore(File directory,
Collection<String> fileExtensions) |
DirectoryRecordStore(File directory,
String... fileExtensions) |
addCodeTable, addCodeTable, addCodeTables, addRecordDefinition, addRecordDefinitionProperties, addRecordStoreExtension, addStatistic, addStatistic, appendQueryValue, copy, create, create, create, createPrimaryIdValue, createQuery, createReader, createTransaction, createWithId, delete, deleteAll, findRecordDefinition, getCodeTable, getCodeTableByFieldName, getCodeTableByFieldNameMap, getCodeTableColumNames, getConnectionProperties, getGeometryFactory, getIteratorFactory, getLabel, getRecordDefinition, getRecordFactory, getRecordStoreExtensions, getRootSchema, getSchema, getSchemas, getSharedAttribute, getSharedAttributes, getStatistics, getStatistics, getString, getTransactionManager, getTypeNames, getTypes, getUrl, getUsername, getWriter, hasSchema, insertAll, isEditable, load, load, lock, page, query, query, queryFirst, refreshSchema, refreshSchema, setCodeTableColumNames, setCommonRecordDefinitionProperties, setConnectionProperties, setGeometryFactory, setIteratorFactory, setLabel, setLogCounts, setRecordFactory, setSharedAttribute, setTypeRecordDefinitionProperties, updateAllclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakpublic DirectoryRecordStore(File directory, Collection<String> fileExtensions)
public void close()
close in interface RecordStoreclose in interface AutoCloseableclose in class AbstractRecordStorepublic AbstractIterator<Record> createIterator(Query query, Map<String,Object> properties)
createIterator in class AbstractRecordStorepublic void delete(Record record)
delete in interface RecordStoredelete in class AbstractRecordStorepublic File getDirectory()
public String getFileExtension()
public RecordDefinition getRecordDefinition(RecordDefinition recordDefinition)
getRecordDefinition in interface RecordStoregetRecordDefinition in class AbstractRecordStoreprotected org.springframework.core.io.Resource getResource(String path)
protected org.springframework.core.io.Resource getResource(String path, RecordDefinition recordDefinition)
public int getRowCount(Query query)
public Writer<Record> getWriter()
getWriter in interface RecordStoregetWriter in class AbstractRecordStore@PostConstruct public void initialize()
initialize in interface RecordStoreinitialize in class AbstractRecordStorepublic void insert(Record record)
insert in interface RecordStoreinsert in class AbstractRecordStorepublic boolean isCreateMissingRecordStore()
public boolean isCreateMissingTables()
protected RecordDefinition loadRecordDefinition(RecordStoreSchema schema, String schemaName, org.springframework.core.io.Resource resource)
public RecordReader query(String path)
query in interface RecordStorequery in class AbstractRecordStoreprotected Map<String,RecordStoreSchemaElement> refreshSchemaElements(RecordStoreSchema schema)
refreshSchemaElements in class AbstractRecordStorepublic void setCreateMissingRecordStore(boolean createMissingRecordStore)
public void setCreateMissingTables(boolean createMissingTables)
public void setDirectory(File directory)
protected void superDelete(Record record)
protected void superUpdate(Record record)
public String toString()
toString in class AbstractRecordStorepublic void update(Record record)
update in interface RecordStoreupdate in class AbstractRecordStoreCopyright © 2015 Revolution Systems Inc.. All rights reserved.