public class CapiFileGdbRecordStore extends AbstractRecordStore implements FileGdbRecordStore
| Modifier | Constructor and Description |
|---|---|
protected |
CapiFileGdbRecordStore(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCodeTable(CodeTable codeTable) |
void |
alterDomain(CodedValueDomain domain) |
void |
appendQueryValue(Query query,
StringBuilder buffer,
QueryValue condition) |
void |
appendValue(StringBuilder buffer,
Object value) |
void |
close() |
protected void |
closeEnumRows() |
void |
closeEnumRows(EnumRows rows) |
protected void |
closeRow(Row row) |
void |
closeTable(String typePath) |
protected void |
closeTables() |
void |
createDomain(Domain domain) |
AbstractIterator<Record> |
createIterator(Query query,
Map<String,Object> properties) |
<T> T |
createPrimaryIdValue(String typePath) |
protected Row |
createRowObject(Table table) |
FileGdbWriter |
createWriter() |
void |
delete(Record object) |
protected void |
deletedRow(Table table,
Row row) |
void |
deleteGeodatabase() |
void |
doClose() |
protected void |
finalize() |
protected String |
getCatalogPath(RecordStoreSchemaElement element) |
protected String |
getCatalogPath(String path) |
String |
getDefaultSchema() |
Map<String,List<String>> |
getDomainColumNames() |
String |
getFileName() |
RecordDefinition |
getRecordDefinition(RecordDefinition sourceRecordDefinition) |
RecordDefinitionImpl |
getRecordDefinition(String schemaName,
String path,
String tableDefinition) |
int |
getRowCount(Query query) |
static SpatialReference |
getSpatialReference(GeometryFactory geometryFactory) |
protected Table |
getTable(String typePath) |
org.springframework.core.io.Resource |
getTemplate() |
protected StringBuilder |
getWhereClause(Query query) |
FileGdbWriter |
getWriter() |
protected boolean |
hasCatalogPath(String path) |
void |
initialize() |
void |
insert(Record object) |
protected void |
insertRow(Table table,
Row row) |
boolean |
isClosed() |
boolean |
isCreateMissingRecordStore() |
boolean |
isCreateMissingTables() |
boolean |
isLoadOnly(String typePath) |
boolean |
isNull(Row row,
String name) |
boolean |
isOpen(EnumRows enumRows) |
boolean |
isOpen(Table table) |
Record |
load(String typePath,
Object... id) |
protected void |
loadDomain(String domainName) |
protected Row |
nextRow(EnumRows rows) |
EnumRows |
query(String sql,
boolean recycling) |
protected Map<String,? extends RecordStoreSchemaElement> |
refreshSchemaElements(RecordStoreSchema schema) |
EnumRows |
search(Table table,
String fields,
String whereClause,
boolean recycling) |
EnumRows |
search(Table table,
String fields,
String whereClause,
Envelope boundingBox,
boolean recycling) |
void |
setCreateMissingRecordStore(boolean createMissingRecordStore) |
void |
setCreateMissingTables(boolean createMissingTables) |
void |
setDefaultSchema(String defaultSchema) |
void |
setDomainColumNames(Map<String,List<String>> domainColumNames) |
void |
setFileName(String fileName) |
void |
setLoadOnly(boolean loadOnly) |
void |
setLoadOnly(String typePath,
boolean loadOnly) |
void |
setNull(Row row,
String name) |
void |
setTemplate(org.springframework.core.io.Resource template) |
protected void |
setWriteLock(String typePath) |
protected String |
toPath(String catalogPath) |
String |
toString() |
void |
update(Record object) |
protected void |
updateRow(Table table,
Row row) |
addCodeTable, addCodeTables, addRecordDefinition, addRecordDefinitionProperties, addRecordStoreExtension, addStatistic, addStatistic, copy, create, create, create, 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, lock, page, query, 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, getClass, hashCode, notify, notifyAll, wait, wait, waitaddCodeTables, addStatistic, addStatistic, copy, create, create, create, createQuery, createTransaction, createWithId, delete, deleteAll, getCodeTable, getCodeTableByFieldName, getCodeTableByFieldNameMap, getGeometryFactory, getLabel, getRecordDefinition, getRecordFactory, getRootSchema, getSchema, getSchemas, getStatistics, getStatistics, getTransactionManager, getTypeNames, getTypes, getUrl, getUsername, getWriter, hasSchema, insertAll, isEditable, load, lock, page, query, query, query, queryFirst, setLabel, setLogCounts, setRecordFactory, updateAllclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakprotected CapiFileGdbRecordStore(File file)
public static SpatialReference getSpatialReference(GeometryFactory geometryFactory)
public void addCodeTable(CodeTable codeTable)
addCodeTable in interface RecordStoreaddCodeTable in class AbstractRecordStorepublic void alterDomain(CodedValueDomain domain)
public void appendQueryValue(Query query, StringBuilder buffer, QueryValue condition)
appendQueryValue in interface RecordStoreappendQueryValue in class AbstractRecordStorepublic void appendValue(StringBuilder buffer, Object value)
@PreDestroy public void close()
close in interface RecordStoreclose in interface AutoCloseableclose in class AbstractRecordStoreprotected void closeEnumRows()
public void closeEnumRows(EnumRows rows)
protected void closeRow(Row row)
public void closeTable(String typePath)
protected void closeTables()
public void createDomain(Domain domain)
public AbstractIterator<Record> createIterator(Query query, Map<String,Object> properties)
createIterator in class AbstractRecordStorepublic <T> T createPrimaryIdValue(String typePath)
createPrimaryIdValue in interface RecordStorecreatePrimaryIdValue in class AbstractRecordStorepublic FileGdbWriter createWriter()
createWriter in interface RecordStorepublic void delete(Record object)
delete in interface RecordStoredelete in class AbstractRecordStorepublic void deleteGeodatabase()
deleteGeodatabase in interface FileGdbRecordStorepublic void doClose()
protected void finalize()
throws Throwable
protected String getCatalogPath(RecordStoreSchemaElement element)
public String getDefaultSchema()
public String getFileName()
public RecordDefinition getRecordDefinition(RecordDefinition sourceRecordDefinition)
getRecordDefinition in interface RecordStoregetRecordDefinition in interface FileGdbRecordStoregetRecordDefinition in class AbstractRecordStorepublic RecordDefinitionImpl getRecordDefinition(String schemaName, String path, String tableDefinition)
public int getRowCount(Query query)
getRowCount in interface RecordStorepublic org.springframework.core.io.Resource getTemplate()
protected StringBuilder getWhereClause(Query query)
public FileGdbWriter getWriter()
getWriter in interface RecordStoregetWriter in class AbstractRecordStoreprotected boolean hasCatalogPath(String path)
@PostConstruct public void initialize()
initialize in interface RecordStoreinitialize in interface FileGdbRecordStoreinitialize in class AbstractRecordStorepublic void insert(Record object)
insert in interface RecordStoreinsert in class AbstractRecordStorepublic boolean isClosed()
public boolean isCreateMissingRecordStore()
public boolean isCreateMissingTables()
public boolean isLoadOnly(String typePath)
public boolean isOpen(EnumRows enumRows)
public boolean isOpen(Table table)
public Record load(String typePath, Object... id)
load in interface RecordStoreload in class AbstractRecordStoreprotected void loadDomain(String domainName)
protected Map<String,? extends RecordStoreSchemaElement> refreshSchemaElements(RecordStoreSchema schema)
refreshSchemaElements in class AbstractRecordStorepublic EnumRows search(Table table, String fields, String whereClause, Envelope boundingBox, boolean recycling)
public void setCreateMissingRecordStore(boolean createMissingRecordStore)
setCreateMissingRecordStore in interface FileGdbRecordStorepublic void setCreateMissingTables(boolean createMissingTables)
setCreateMissingTables in interface FileGdbRecordStorepublic void setDefaultSchema(String defaultSchema)
setDefaultSchema in interface FileGdbRecordStorepublic void setFileName(String fileName)
public void setLoadOnly(boolean loadOnly)
public void setLoadOnly(String typePath, boolean loadOnly)
public void setTemplate(org.springframework.core.io.Resource template)
protected void setWriteLock(String typePath)
public String toString()
toString in class AbstractRecordStorepublic void update(Record object)
update in interface RecordStoreupdate in class AbstractRecordStoreCopyright © 2015 Revolution Systems Inc.. All rights reserved.