Package one.microstream.afs.sql
Class SqlProviderOracle.Default
java.lang.Object
one.microstream.afs.sql.SqlProvider.Abstract
one.microstream.afs.sql.SqlProviderOracle.Default
- All Implemented Interfaces:
SqlProvider
,SqlProviderOracle
- Enclosing interface:
- SqlProviderOracle
public static class SqlProviderOracle.Default extends SqlProvider.Abstract implements SqlProviderOracle
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.afs.sql.SqlProvider
SqlProvider.Abstract
Nested classes/interfaces inherited from interface one.microstream.afs.sql.SqlProviderOracle
SqlProviderOracle.Default
-
Field Summary
Fields inherited from interface one.microstream.afs.sql.SqlProvider
DATA_COLUMN_NAME, DATA_COLUMN_TYPE, END_COLUMN_NAME, END_COLUMN_TYPE, IDENTIFIER_COLUMN_LENGTH, IDENTIFIER_COLUMN_NAME, IDENTIFIER_COLUMN_TYPE, START_COLUMN_NAME, START_COLUMN_TYPE
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description Iterable<String>
createDirectoryQueries(String tableName)
create table [tableName] ( 'identifier' varchar(IDENTIFIER_COLUMN_LENGTH) not null, 'start' bigint not null, 'end' bigint not null, 'blob' not null, primary key ('identifier', 'start') )Set<String>
queryDirectories(Connection connection, String prefix)
boolean
queryDirectoryExists(Connection connection, String tableName)
Methods inherited from class one.microstream.afs.sql.SqlProvider.Abstract
catalog, copyFileQuery, deleteFileQuery, deleteFileQueryFromEnd, deleteFileQueryFromStart, execute, fileExistsQuery, fileSizeQuery, listFilesQuery, moveFileQuerySameParent, readDataQuery, readDataQueryWithLength, readDataQueryWithOffset, readDataQueryWithRange, readMetadataQuery, readMetadataQuerySingleSegment, schema, setBlob, writeDataQuery
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.microstream.afs.sql.SqlProvider
catalog, copyFileQuery, deleteFileQuery, deleteFileQueryFromEnd, deleteFileQueryFromStart, execute, fileExistsQuery, fileSizeQuery, listFilesQuery, moveFileQuerySameParent, readDataQuery, readDataQueryWithLength, readDataQueryWithOffset, readDataQueryWithRange, readMetadataQuery, readMetadataQuerySingleSegment, schema, setBlob, writeDataQuery
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
createDirectoryQueries
Description copied from interface:SqlProvider
create table [tableName] ( 'identifier' varchar(IDENTIFIER_COLUMN_LENGTH) not null, 'start' bigint not null, 'end' bigint not null, 'blob' not null, primary key ('identifier', 'start') )
- Specified by:
createDirectoryQueries
in interfaceSqlProvider
-
queryDirectoryExists
- Specified by:
queryDirectoryExists
in interfaceSqlProvider
- Overrides:
queryDirectoryExists
in classSqlProvider.Abstract
- Throws:
SQLException
-
queryDirectories
- Specified by:
queryDirectories
in interfaceSqlProvider
- Overrides:
queryDirectories
in classSqlProvider.Abstract
- Throws:
SQLException
-