Package one.microstream.afs.sql.types
Class SqlProviderOracle.Default
java.lang.Object
one.microstream.afs.sql.types.SqlProvider.Abstract
one.microstream.afs.sql.types.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.types.SqlProvider
SqlProvider.Abstract
Nested classes/interfaces inherited from interface one.microstream.afs.sql.types.SqlProviderOracle
SqlProviderOracle.Default
-
Field Summary
Fields inherited from interface one.microstream.afs.sql.types.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
-
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.types.SqlProvider.Abstract
addNameQuoted, addSqlColumnName, addSqlTableName, catalog, copyFileQuery, countFilesQuery, deleteFileQuery, deleteFileQueryFromEnd, deleteFileQueryFromStart, execute, fileExistsQuery, fileSizeQuery, internalReadDataQuery, listFilesQuery, moveFileQuerySameParent, quoteClose, quoteOpen, 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.types.SqlProvider
catalog, copyFileQuery, countFilesQuery, deleteFileQuery, deleteFileQueryFromEnd, deleteFileQueryFromStart, execute, fileExistsQuery, fileSizeQuery, listFilesQuery, moveFileQuerySameParent, readDataQuery, readDataQueryWithLength, readDataQueryWithOffset, readDataQueryWithRange, readMetadataQuery, readMetadataQuerySingleSegment, schema, setBlob, writeDataQuery
-
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
- Parameters:
tableName
- the table to query- Returns:
- the native query string
-
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
-