Package one.microstream.afs.sql.types
Class SqlIoHandler.Default
java.lang.Object
one.microstream.afs.types.AIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
one.microstream.afs.sql.types.SqlIoHandler.Default
- All Implemented Interfaces:
SqlIoHandler,AIoHandler,WriteController
- Enclosing interface:
- SqlIoHandler
public static final class SqlIoHandler.Default extends AIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile> implements SqlIoHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.afs.types.AIoHandler
AIoHandler.Abstract<FS,DS,I extends AItem,F extends AFile,D extends ADirectory,R extends AReadableFile,W extends AWritableFile>Nested classes/interfaces inherited from interface one.microstream.afs.sql.types.SqlIoHandler
SqlIoHandler.DefaultNested classes/interfaces inherited from interface one.microstream.afs.types.WriteController
WriteController.Disabled, WriteController.Enabled -
Method Summary
Modifier and Type Method Description SqlConnectorconnector()voidcreate(ADirectory directory)protected booleanspecificClose(SqlReadableFile file)protected longspecificCopyFrom(AReadableFile source, long sourcePosition, long length, SqlWritableFile targetSubject)protected longspecificCopyFrom(AReadableFile source, long sourcePosition, SqlWritableFile targetSubject)protected longspecificCopyFrom(AReadableFile source, SqlWritableFile targetSubject)protected longspecificCopyTo(SqlReadableFile sourceFile, long sourcePosition, long length, AWritableFile targetFile)protected longspecificCopyTo(SqlReadableFile sourceFile, long sourcePosition, AWritableFile targetFile)protected longspecificCopyTo(SqlReadableFile sourceFile, AWritableFile targetFile)protected voidspecificCreate(SqlWritableFile file)protected voidspecificCreate(ADirectory directory)protected booleanspecificDeleteFile(SqlWritableFile file)protected booleanspecificExists(SqlFileWrapper file)protected booleanspecificExists(ADirectory directory)protected voidspecificInventorize(ADirectory directory)protected booleanspecificIsOpen(SqlReadableFile file)protected XGettingEnum<String>specificListDirectories(ADirectory parent)protected XGettingEnum<String>specificListFiles(ADirectory parent)protected XGettingEnum<String>specificListItems(ADirectory parent)protected voidspecificMoveFile(SqlWritableFile sourceFile, AWritableFile targetFile)protected booleanspecificOpenReading(SqlReadableFile file)protected booleanspecificOpenWriting(SqlWritableFile file)protected ByteBufferspecificReadBytes(SqlReadableFile sourceFile)protected ByteBufferspecificReadBytes(SqlReadableFile sourceFile, long position)protected ByteBufferspecificReadBytes(SqlReadableFile sourceFile, long position, long length)protected longspecificReadBytes(SqlReadableFile sourceFile, ByteBuffer targetBuffer)protected longspecificReadBytes(SqlReadableFile sourceFile, ByteBuffer targetBuffer, long position)protected longspecificReadBytes(SqlReadableFile sourceFile, ByteBuffer targetBuffer, long position, long length)protected longspecificReadBytes(SqlReadableFile sourceFile, BufferProvider bufferProvider)protected longspecificReadBytes(SqlReadableFile sourceFile, BufferProvider bufferProvider, long position)protected longspecificReadBytes(SqlReadableFile sourceFile, BufferProvider bufferProvider, long position, long length)protected longspecificSize(SqlFileWrapper file)protected voidspecificTruncateFile(SqlWritableFile file, long newSize)protected longspecificWriteBytes(SqlWritableFile targetFile, Iterable<? extends ByteBuffer> sourceBuffers)protected booleansubjectDirectoryExists(SqlPath directory)protected booleansubjectFileExists(SqlPath file)protected longsubjectFileSize(SqlPath file)protected SqlPathtoSubjectDirectory(ADirectory directory)protected SqlPathtoSubjectFile(AFile file)Methods inherited from class one.microstream.afs.types.AIoHandler.Abstract
castReadableFile, castWritableFile, close, copyFrom, copyFrom, copyFrom, copyGeneric, copyGeneric, copyGeneric, copyTo, copyTo, copyTo, create, createUnhandledTypeException, createUnhandledTypeException, createUnhandledTypeExceptionDirectory, createUnhandledTypeExceptionFile, createUnhandledTypeExceptionItem, createUnhandledTypeExceptionReadableFile, createUnhandledTypeExceptionWritableFile, deleteFile, ensureExists, ensureExists, exists, exists, inventorize, isHandledDirectory, isHandledFile, isHandledItem, isHandledReadableFile, isHandledWritableFile, isOpen, isWritable, listDirectories, listFiles, listItems, moveFile, openReading, openWriting, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, size, truncate, validateHandledDirectory, validateHandledFile, validateHandledReadableFile, validateHandledWritableFile, validateIsWritable, writeBytesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.microstream.afs.types.AIoHandler
close, copyFrom, copyFrom, copyFrom, copyTo, copyTo, copyTo, create, deleteFile, ensureExists, ensureExists, exists, exists, inventorize, isHandledDirectory, isHandledFile, isHandledItem, isHandledReadableFile, isHandledWritableFile, isOpen, listDirectories, listFiles, listItems, moveFile, openReading, openWriting, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, size, truncate, validateHandledDirectory, validateHandledFile, validateHandledReadableFile, validateHandledWritableFile, writeBytesMethods inherited from interface one.microstream.afs.types.WriteController
isWritable, validateIsWritable
-
Method Details
-
connector
- Specified by:
connectorin interfaceSqlIoHandler
-
toSubjectFile
- Specified by:
toSubjectFilein classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
toSubjectDirectory
- Specified by:
toSubjectDirectoryin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
subjectFileSize
- Specified by:
subjectFileSizein classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
subjectFileExists
- Specified by:
subjectFileExistsin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
subjectDirectoryExists
- Specified by:
subjectDirectoryExistsin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificSize
- Specified by:
specificSizein classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificExists
- Specified by:
specificExistsin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificExists
- Specified by:
specificExistsin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificListItems
- Specified by:
specificListItemsin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificListDirectories
- Specified by:
specificListDirectoriesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificListFiles
- Specified by:
specificListFilesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificInventorize
- Specified by:
specificInventorizein classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificOpenReading
- Specified by:
specificOpenReadingin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificIsOpen
- Specified by:
specificIsOpenin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificClose
- Specified by:
specificClosein classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificOpenWriting
- Specified by:
specificOpenWritingin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
create
- Specified by:
createin interfaceAIoHandler- Overrides:
createin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificCreate
- Specified by:
specificCreatein classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificCreate
- Specified by:
specificCreatein classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificDeleteFile
- Specified by:
specificDeleteFilein classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificReadBytes
- Specified by:
specificReadBytesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificReadBytes
- Specified by:
specificReadBytesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificReadBytes
- Specified by:
specificReadBytesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificReadBytes
- Specified by:
specificReadBytesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificReadBytes
protected long specificReadBytes(SqlReadableFile sourceFile, ByteBuffer targetBuffer, long position)- Specified by:
specificReadBytesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificReadBytes
protected long specificReadBytes(SqlReadableFile sourceFile, ByteBuffer targetBuffer, long position, long length)- Specified by:
specificReadBytesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificReadBytes
- Specified by:
specificReadBytesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificReadBytes
protected long specificReadBytes(SqlReadableFile sourceFile, BufferProvider bufferProvider, long position)- Specified by:
specificReadBytesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificReadBytes
protected long specificReadBytes(SqlReadableFile sourceFile, BufferProvider bufferProvider, long position, long length)- Specified by:
specificReadBytesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificWriteBytes
protected long specificWriteBytes(SqlWritableFile targetFile, Iterable<? extends ByteBuffer> sourceBuffers)- Specified by:
specificWriteBytesin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificMoveFile
- Specified by:
specificMoveFilein classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificCopyTo
- Specified by:
specificCopyToin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificCopyTo
protected long specificCopyTo(SqlReadableFile sourceFile, long sourcePosition, AWritableFile targetFile)- Specified by:
specificCopyToin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificCopyTo
protected long specificCopyTo(SqlReadableFile sourceFile, long sourcePosition, long length, AWritableFile targetFile)- Specified by:
specificCopyToin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificCopyFrom
- Specified by:
specificCopyFromin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificCopyFrom
protected long specificCopyFrom(AReadableFile source, long sourcePosition, SqlWritableFile targetSubject)- Specified by:
specificCopyFromin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificCopyFrom
protected long specificCopyFrom(AReadableFile source, long sourcePosition, long length, SqlWritableFile targetSubject)- Specified by:
specificCopyFromin classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-
specificTruncateFile
- Specified by:
specificTruncateFilein classAIoHandler.Abstract<SqlPath,SqlPath,SqlItemWrapper,SqlFileWrapper,ADirectory,SqlReadableFile,SqlWritableFile>
-