Package one.microstream.afs.sql.types
Class SqlFileSystem.Default
java.lang.Object
one.microstream.afs.types.AFileSystem.Abstract<SqlIoHandler,SqlPath,SqlPath>
one.microstream.afs.sql.types.SqlFileSystem.Default
- All Implemented Interfaces:
SqlFileSystem
,ACreator
,AFileSystem
,AResolver<SqlPath,SqlPath>
,AResolving
,ARoot.Creator
,WriteController
- Enclosing interface:
- SqlFileSystem
public static class SqlFileSystem.Default extends AFileSystem.Abstract<SqlIoHandler,SqlPath,SqlPath> implements SqlFileSystem
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.afs.types.ACreator
ACreator.Creator
Nested classes/interfaces inherited from interface one.microstream.afs.types.AFileSystem
AFileSystem.Abstract<H extends AIoHandler,D,F>
Nested classes/interfaces inherited from interface one.microstream.afs.sql.types.SqlFileSystem
SqlFileSystem.Default
Nested classes/interfaces inherited from interface one.microstream.afs.types.WriteController
WriteController.Disabled, WriteController.Enabled
-
Constructor Summary
Constructors Modifier Constructor Description protected
Default(SqlIoHandler ioHandler)
-
Method Summary
Modifier and Type Method Description protected VarString
assembleItemPath(AItem item, VarString vs)
AReadableFile
convertToReading(AWritableFile file)
AWritableFile
convertToWriting(AReadableFile file)
String
deriveFileIdentifier(String fileName, String fileType)
String
deriveFileName(String fileIdentifier)
String
deriveFileType(String fileIdentifier)
String
getFileName(AFile file)
String
getFileType(AFile file)
SqlPath
resolve(ADirectory directory)
SqlPath
resolve(AFile file)
String[]
resolveDirectoryToPath(SqlPath directory)
String[]
resolveFileToPath(SqlPath file)
AReadableFile
wrapForReading(AFile file, Object user)
AWritableFile
wrapForWriting(AFile file, Object user)
Methods inherited from class one.microstream.afs.types.AFileSystem.Abstract
accessManager, accessRoots, addRoot, assemblePath, assemblePath, buildPath, createRootDirectory, creator, defaultProtocol, ensureCreator, ensureDefaultRoot, ensureDirectoryPath, ensureFilePath, ensureRoot, ensureRoot, fileSystem, getRoot, ioHandler, isWritable, lookupRoot, removeRoot, removeRoot, resolveDirectoryPath, validateIsWritable, validateMember
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.types.ACreator
createDirectory, createFile, createFile
Methods inherited from interface one.microstream.afs.types.AFileSystem
accessManager, accessRoots, addRoot, assemblePath, assemblePath, assemblePath, assemblePath, buildPath, buildPath, buildPath, creator, defaultProtocol, ensureDefaultRoot, ensureDirectoryPath, ensureDirectoryPath, ensureFilePath, ensureFilePath, ensureFilePath, ensureRoot, ensureRoot, getRoot, ioHandler, lookupRoot, removeRoot, removeRoot, validateMember
Methods inherited from interface one.microstream.afs.types.AResolver
ensureDirectory, ensureFile, fileSystem, resolveDirectory, resolveFile
Methods inherited from interface one.microstream.afs.types.AResolving
resolveDirectoryPath, resolveDirectoryPath, resolveFilePath, resolveFilePath, resolveFilePath
Methods inherited from interface one.microstream.afs.types.ARoot.Creator
createRootDirectory, protocol
Methods inherited from interface one.microstream.afs.types.WriteController
isWritable, validateIsWritable
-
Constructor Details
-
Method Details
-
deriveFileIdentifier
- Specified by:
deriveFileIdentifier
in interfaceAFileSystem
-
deriveFileName
- Specified by:
deriveFileName
in interfaceAFileSystem
-
deriveFileType
- Specified by:
deriveFileType
in interfaceAFileSystem
-
getFileName
- Specified by:
getFileName
in interfaceAFileSystem
-
getFileType
- Specified by:
getFileType
in interfaceAFileSystem
-
resolveDirectoryToPath
- Specified by:
resolveDirectoryToPath
in interfaceAResolver<SqlPath,SqlPath>
-
resolveFileToPath
- Specified by:
resolveFileToPath
in interfaceAResolver<SqlPath,SqlPath>
-
resolve
-
resolve
-
assembleItemPath
- Specified by:
assembleItemPath
in classAFileSystem.Abstract<SqlIoHandler,SqlPath,SqlPath>
-
wrapForReading
- Specified by:
wrapForReading
in interfaceAFileSystem
-
wrapForWriting
- Specified by:
wrapForWriting
in interfaceAFileSystem
-
convertToReading
- Specified by:
convertToReading
in interfaceAFileSystem
-
convertToWriting
- Specified by:
convertToWriting
in interfaceAFileSystem
-