Package com.basis.api.admin
Interface BBjAdminBBjFile
- All Superinterfaces:
BBjAdminPropertyReader,BBjAdminPropertyWriter,Remote
- All Known Subinterfaces:
BBjAdminBBjFile_1412
Contains information about a data file examined by the BBj file system. This is
different than a BBjAdminFile in that a BBjAdminFile is examined using the OS
file system. So, any non-BASIS data file will show as a type STRING for the file type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDIRECT/SORT file type.static final intDIRECTORY file type.static final Stringstatic final Stringstatic final intINDEXED file type.static final Stringstatic final intMKEYED file type.static final Stringstatic final intPROGRAM file type.static final Stringstatic final intSERIAL file type.static final intSTRING file type.static final intVKEYED file type.static final intXKEYED file type. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of KeyDescription objects for the keys on the file if it is a multi-keyed file.longReturns number of records currently in the data file at the time this method is called.Methods inherited from interface com.basis.api.admin.BBjAdminPropertyReader
checkValueEqual, contains, contains, getBoolean, getDouble, getInt, getList, getLong, getProperties, getString, getType, getTypes, getValueMethods inherited from interface com.basis.api.admin.BBjAdminPropertyWriter
addType, canAddNewProperties, canClear, clear, clearProperties, clearProperty, getReadOnly, hasChanged, isReadOnly, setBoolean, setDouble, setInt, setList, setLong, setProperties, setString, setValue
-
Field Details
-
FULL_PATH
- See Also:
-
NAME
- See Also:
-
FILE_TYPE
- See Also:
-
KEY_SIZE
- See Also:
-
RECORD_SIZE
- See Also:
-
INDEXED_FILE
static final int INDEXED_FILEINDEXED file type.- See Also:
-
SERIAL_FILE
static final int SERIAL_FILESERIAL file type.- See Also:
-
DIRECT_FILE
static final int DIRECT_FILEDIRECT/SORT file type.- See Also:
-
STRING_FILE
static final int STRING_FILESTRING file type.- See Also:
-
PROGRAM_FILE
static final int PROGRAM_FILEPROGRAM file type.- See Also:
-
DIRECTORY_FILE
static final int DIRECTORY_FILEDIRECTORY file type.- See Also:
-
MKEYED_FILE
static final int MKEYED_FILEMKEYED file type.- See Also:
-
XKEYED_FILE
static final int XKEYED_FILEXKEYED file type.- See Also:
-
VKEYED_FILE
static final int VKEYED_FILEVKEYED file type.- See Also:
-
-
Method Details
-
getRecordCount
Returns number of records currently in the data file at the time this method is called.- Throws:
BBjAdminException
-
getKeyDescriptions
Returns a list of KeyDescription objects for the keys on the file if it is a multi-keyed file. Single-keyed files will not return any information in this method, but rather, you should check the KEY_SIZE property for that information.- Throws:
BBjAdminException
-