Package one.microstream.afs.sql
Class SqlConnector.Default
java.lang.Object
one.microstream.afs.sql.SqlConnector.Default
- All Implemented Interfaces:
SqlConnector
- Enclosing interface:
- SqlConnector
public static class SqlConnector.Default extends Object implements SqlConnector
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.afs.sql.SqlConnector
SqlConnector.Default
-
Field Summary
Fields Modifier and Type Field Description static int
DATA_COLUMN_INDEX
static int
END_COLUMN_INDEX
static int
IDENTIFIER_COLUMN_INDEX
static int
START_COLUMN_INDEX
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description long
copyFile(SqlPath sourceFile, SqlPath targetFile, long offset, long length)
boolean
createDirectory(SqlPath directory)
boolean
deleteFile(SqlPath file)
boolean
directoryExists(SqlPath directory)
boolean
fileExists(SqlPath file)
long
fileSize(SqlPath file)
void
moveFile(SqlPath sourceFile, SqlPath targetFile)
ByteBuffer
readData(SqlPath file, long offset, long length)
long
readData(SqlPath file, ByteBuffer targetBuffer, long offset, long length)
void
truncateFile(SqlPath file, long newLength)
void
visitDirectories(SqlPath directory, SqlPathVisitor visitor)
void
visitFiles(SqlPath directory, SqlPathVisitor visitor)
long
writeData(SqlPath file, Iterable<? extends ByteBuffer> sourceBuffers)
-
Field Details
-
IDENTIFIER_COLUMN_INDEX
public static final int IDENTIFIER_COLUMN_INDEX- See Also:
- Constant Field Values
-
START_COLUMN_INDEX
public static final int START_COLUMN_INDEX- See Also:
- Constant Field Values
-
END_COLUMN_INDEX
public static final int END_COLUMN_INDEX- See Also:
- Constant Field Values
-
DATA_COLUMN_INDEX
public static final int DATA_COLUMN_INDEX- See Also:
- Constant Field Values
-
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
fileSize
- Specified by:
fileSize
in interfaceSqlConnector
-
fileExists
- Specified by:
fileExists
in interfaceSqlConnector
-
directoryExists
- Specified by:
directoryExists
in interfaceSqlConnector
-
visitDirectories
- Specified by:
visitDirectories
in interfaceSqlConnector
-
visitFiles
- Specified by:
visitFiles
in interfaceSqlConnector
-
createDirectory
- Specified by:
createDirectory
in interfaceSqlConnector
-
deleteFile
- Specified by:
deleteFile
in interfaceSqlConnector
-
readData
- Specified by:
readData
in interfaceSqlConnector
-
readData
- Specified by:
readData
in interfaceSqlConnector
-
writeData
- Specified by:
writeData
in interfaceSqlConnector
-
moveFile
- Specified by:
moveFile
in interfaceSqlConnector
-
copyFile
- Specified by:
copyFile
in interfaceSqlConnector
-
truncateFile
- Specified by:
truncateFile
in interfaceSqlConnector
-