public interface SasFileConstants
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGN_1_CHECKER_VALUE
If a value with the length of
ALIGN_1_LENGTH bytes stored in the sas7bdat file with
a ALIGN_1_OFFSET bytes offset equals to ALIGN_1_CHECKER_VALUE, then starting from
the DATE_CREATED_OFFSET bytes offset every offset should increase by
ALIGN_1_VALUE bytes. |
static int |
ALIGN_1_LENGTH
If a value with the length of ALIGN_1_LENGTH bytes stored in the sas7bdat file with
a
ALIGN_1_OFFSET bytes offset equals to ALIGN_1_CHECKER_VALUE,
then starting from the DATE_CREATED_OFFSET bytes offset every offset should increase
by ALIGN_1_VALUE bytes. |
static long |
ALIGN_1_OFFSET
If a value with the length of
ALIGN_1_LENGTH bytes stored in the sas7bdat file with
a ALIGN_1_OFFSET bytes offset equals to ALIGN_1_CHECKER_VALUE, then starting from
the DATE_CREATED_OFFSET bytes offset every offset should increase by
ALIGN_1_VALUE bytes. |
static int |
ALIGN_1_VALUE
If a value with the length of
ALIGN_1_LENGTH bytes stored in the sas7bdat file with
a ALIGN_1_OFFSET bytes offset equals to ALIGN_1_CHECKER_VALUE,
then starting from the DATE_CREATED_OFFSET bytes offset every offset should increase by
ALIGN_1_VALUE bytes. |
static int |
ALIGN_2_LENGTH
If a value with the length of ALIGN_2_LENGTH bytes stored in the sas7bdat file at
a
ALIGN_2_OFFSET bytes offset equals to
U64_BYTE_CHECKER_VALUE, then:
- this sas7bdat file was created in the 64-bit version of SAS,
- starting from the SAS_RELEASE_OFFSET bytes offset every offset should increase by
ALIGN_2_VALUE bytes (in addition to ALIGN_1_VALUE bytes if
those are added) and the number of pages stored at the PAGE_COUNT_OFFSET bytes offset
should read as long. |
static long |
ALIGN_2_OFFSET
If a value with the length of
ALIGN_2_LENGTH bytes stored in the sas7bdat file with
a ALIGN_2_OFFSET bytes offset equals to U64_BYTE_CHECKER_VALUE, then:
- this sas7bdat file was created in the 64-bit version of SAS,
- starting from the SAS_RELEASE_OFFSET bytes offset every offset should increase
by ALIGN_2_VALUE bytes, (in addition to ALIGN_1_VALUE
bytes if those are added) and the number of pages stored at the PAGE_COUNT_OFFSET bytes
offset should read as long. |
static int |
ALIGN_2_VALUE
If a value with the length of
ALIGN_2_LENGTH bytes stored in the sas7bdat file with
a ALIGN_2_OFFSET bytes offset equals to
U64_BYTE_CHECKER_VALUE, then:
- this sas7bdat file was created in the 64-bit version of SAS,
- starting from the SAS_RELEASE_OFFSET bytes offset every offset should increase by
ALIGN_2_VALUE bytes (in addition to ALIGN_1_VALUE bytes if those are added) and
the number of pages stored at the PAGE_COUNT_OFFSET bytes offset should read as long. |
static int |
BIG_ENDIAN_CHECKER
If a value with the length of ENDIANNESS_LENGTH bytes stored in the sas7bdat file with
a
ENDIANNESS_OFFSET bytes offset equals to
LITTLE_ENDIAN_CHECKER then the bytes order is little-endian (Intel),
if the value equals to BIG_ENDIAN_CHECKER then the bytes order is big-endian. |
static int |
BITS_IN_BYTE
The number of bits in a byte.
|
static int |
BLOCK_COUNT_LENGTH
For pages of the
PAGE_DATA_TYPE type, the sas7bdat file stores the number of rows
in the table on the current page as a short value - with the length of BLOCK_COUNT_LENGTH bytes
and a BLOCK_COUNT_OFFSET bytes offset (with addition of
PAGE_BIT_OFFSET_X86 or PAGE_BIT_OFFSET_X64). |
static long |
BLOCK_COUNT_OFFSET
For pages of the
PAGE_DATA_TYPE type, the sas7bdat file stores the number of rows
in the table on the current page as a short value - with the length of
BLOCK_COUNT_LENGTH bytes and a BLOCK_COUNT_OFFSET bytes offset (with addition of
PAGE_BIT_OFFSET_X86 or PAGE_BIT_OFFSET_X64). |
static int |
BYTES_IN_DOUBLE
The size of the double value type in bytes.
|
static int |
BYTES_IN_INT
The size of the int value type in bytes.
|
static int |
BYTES_IN_LONG
The size of the long value type in bytes.
|
static int |
COLUMN_DATA_LENGTH_LENGTH
For every table column, the sas7bdat file stores the denotation (in bytes) of data length in a column:
- at an offset measured from the beginning of the
SasFileParser.ColumnAttributesSubheader subheader
and calculated by the following formula: COLUMN_DATA_LENGTH_OFFSET +
+ column index * (8 + the size of value type (int or long depending on ALIGN_2_VALUE)) +
+ the size of value type (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.ColumnAttributesSubheader subheader,
- with the length of COLUMN_DATA_LENGTH_LENGTH bytes. |
static long |
COLUMN_DATA_LENGTH_OFFSET
For every table column, the sas7bdat file stores the denotation (in bytes) of data length in a column:
- at an offset measured from the beginning of the
SasFileParser.ColumnAttributesSubheader subheader
and calculated by the following formula: COLUMN_DATA_LENGTH_OFFSET +
+ column index * (8 + the size of value type (int or long depending on ALIGN_2_VALUE)) +
+ the size of value type (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.ColumnAttributesSubheader subheader,
- with the length of COLUMN_DATA_LENGTH_LENGTH bytes. |
static long |
COLUMN_DATA_OFFSET_OFFSET
For every table column, the sas7bdat file stores the value (int or long depending on
ALIGN_2_VALUE) that defines the offset of data in the current column
from the beginning of the row with data in bytes:
- at an offset measured from the beginning of the SasFileParser.ColumnAttributesSubheader subheader
and calculated by the following formula: COLUMN_DATA_OFFSET_OFFSET +
+ column index * (8 + the size of value type (int or long depending on ALIGN_2_VALUE)) +
+ the size of value type (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.ColumnAttributesSubheader subheader. |
static int |
COLUMN_FORMAT_LENGTH_LENGTH
For every table column, the sas7bdat file stores the column format length (in symbols):
- with the length of COLUMN_FORMAT_LENGTH_LENGTH bytes,
- at an offset calculated as
COLUMN_FORMAT_LENGTH_OFFSET bytes +
3 * the size of value types (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.FormatAndLabelSubheader subheader. |
static long |
COLUMN_FORMAT_LENGTH_OFFSET
For every table column, the sas7bdat file stores the column format length (in symbols):
- with the length of
COLUMN_FORMAT_LENGTH_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_LENGTH_OFFSET bytes + the size of three value types
(int or long depending on ALIGN_2_VALUE) from the beginning of
the SasFileParser.FormatAndLabelSubheader subheader. |
static int |
COLUMN_FORMAT_OFFSET_LENGTH
For every table column, the sas7bdat file stores the offset (in symbols) of the column format from
the beginning of the text block of the
SasFileParser.ColumnTextSubheader
subheader where it belongs:
- with the length of COLUMN_FORMAT_OFFSET_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_OFFSET_OFFSET bytes +
+ 3 * the size of value types (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader. |
static long |
COLUMN_FORMAT_OFFSET_OFFSET
For every table column, the sas7bdat file stores the offset (in symbols) of the column format from
the beginning of the text block of the
SasFileParser.ColumnTextSubheader subheader
where it belongs:
- with the length of COLUMN_FORMAT_OFFSET_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_OFFSET_OFFSET bytes + 3 * the size of value types
(int or long depending on ALIGN_2_VALUE) from the beginning of
the SasFileParser.FormatAndLabelSubheader subheader. |
static long |
COLUMN_FORMAT_PRECISION_OFFSET
For some table column, the sas7bdat file stores precision of format:
- with the length of
COLUMN_FORMAT_PRECISION_OFFSET_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_PRECISION_OFFSET bytes + the size of value types
(int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader. |
static int |
COLUMN_FORMAT_PRECISION_OFFSET_LENGTH
For some table column, the sas7bdat file stores width of format:
- with the length of COLUMN_FORMAT_PRECISION_OFFSET_LENGTH bytes,
- at an offset calculated as
bytes +
+ the size of value type (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader. |
static int |
COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_LENGTH
For every table column, the sas7bdat file stores the index of the
SasFileParser.ColumnTextSubheader whose text block stores the column format:
- with the length of COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_OFFSET bytes +
+ 3 * the size of value types (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader. |
static long |
COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_OFFSET
For every table column, the sas7bdat file stores the index of
the
SasFileParser.ColumnTextSubheader whose text block stores the column format:
- with the length of COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_OFFSET bytes +
+ 3 * the size of value types (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader. |
static long |
COLUMN_FORMAT_WIDTH_OFFSET
For some table column, the sas7bdat file stores width of format:
- with the length of
COLUMN_FORMAT_WIDTH_OFFSET_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_WIDTH_OFFSET bytes + the size of value types
(int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader. |
static int |
COLUMN_FORMAT_WIDTH_OFFSET_LENGTH
For some table column, the sas7bdat file stores width of format:
- with the length of COLUMN_FORMAT_WIDTH_OFFSET_LENGTH bytes,
- at an offset calculated as
bytes + the size of value types
(int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader. |
static int |
COLUMN_LABEL_LENGTH_LENGTH
For every table column, the sas7bdat file stores the length of the column label (in symbols):
- with the length of COLUMN_LABEL_LENGTH_LENGTH bytes.
|
static long |
COLUMN_LABEL_LENGTH_OFFSET
For every table column, the sas7bdat file stores the length of the column label (in symbols):
- with the length of
COLUMN_LABEL_LENGTH_LENGTH bytes. |
static int |
COLUMN_LABEL_OFFSET_LENGTH
For every table column, the sas7bdat file stores the column label`s offset (in symbols) from the beginning of
the text block where it belongs (see
COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_OFFSET):
- with the length of COLUMN_LABEL_OFFSET_LENGTH bytes. |
static long |
COLUMN_LABEL_OFFSET_OFFSET
For every table column, the sas7bdat file stores the column label`s offset (in symbols) from the beginning of
the text block where it belongs (see
COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_OFFSET):
- with the length of COLUMN_LABEL_OFFSET_LENGTH bytes. |
static int |
COLUMN_LABEL_TEXT_SUBHEADER_INDEX_LENGTH
For every table column, the sas7bdat file stores the index of the
SasFileParser.ColumnTextSubheader subheader
whose text block contains the column label:
- with the length of COLUMN_LABEL_TEXT_SUBHEADER_INDEX_LENGTH bytes,
- at an offset equal to COLUMN_LABEL_TEXT_SUBHEADER_INDEX_OFFSET bytes +
+ 3 * the size of value types (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.FormatAndLabelSubheader subheader. |
static long |
COLUMN_LABEL_TEXT_SUBHEADER_INDEX_OFFSET
For every table column, the sas7bdat file stores the index of the
SasFileParser.ColumnTextSubheader subheader
whose text block contains the column label:
- with the length of COLUMN_LABEL_TEXT_SUBHEADER_INDEX_LENGTH bytes,
- at an offset calculated as COLUMN_LABEL_TEXT_SUBHEADER_INDEX_OFFSET bytes +
+ 3 * the size of value types (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader. |
static int |
COLUMN_NAME_LENGTH_LENGTH
For each table column, the sas7bdat file stores column name length (in symbols):
- with the length of COLUMN_NAME_LENGTH_LENGTH bytes.
|
static long |
COLUMN_NAME_LENGTH_OFFSET
For each table column, the sas7bdat file stores column name length (in symbols):
- with the length of
COLUMN_NAME_LENGTH_LENGTH bytes,
- at an offset measured from the beginning of the
SasFileParser.ColumnNameSubheader subheader
and calculated by the following formula: COLUMN_NAME_LENGTH_OFFSET +
+ column number * COLUMN_NAME_POINTER_LENGTH + size of the value type (int or long
depending on the ALIGN_2_VALUE value). |
static int |
COLUMN_NAME_OFFSET_LENGTH
For each table column, the sas7bdat file stores the offset (in symbols) of the column name from the beginning
of the text block of the
SasFileParser.ColumnTextSubheader subheader (see
COLUMN_NAME_TEXT_SUBHEADER_OFFSET)- with the length of COLUMN_NAME_OFFSET_LENGTH bytes
and an offset measured from the beginning of the SasFileParser.ColumnNameSubheader
subheader and calculated by the following formula: COLUMN_NAME_OFFSET_OFFSET +
+ column number * COLUMN_NAME_POINTER_LENGTH + size of the value type (int or long
depending on the ALIGN_2_VALUE value). |
static long |
COLUMN_NAME_OFFSET_OFFSET
For each table column, the sas7bdat file stores the offset (in symbols) of the column name from the beginning
of the text block of the
SasFileParser.ColumnTextSubheader subheader (see
COLUMN_NAME_TEXT_SUBHEADER_OFFSET)- with the length of
COLUMN_NAME_OFFSET_LENGTH bytes and an offset measured from the beginning
of the SasFileParser.ColumnNameSubheader subheader and calculated by
the following formula: COLUMN_NAME_OFFSET_OFFSET +
+ column number * COLUMN_NAME_POINTER_LENGTH + size of the value type (int or long
depending on the ALIGN_2_VALUE value). |
static int |
COLUMN_NAME_POINTER_LENGTH
The length of the column name pointer in bytes.
|
static int |
COLUMN_NAME_TEXT_SUBHEADER_LENGTH
For each table column, the sas7bdat file stores the index of the
SasFileParser.ColumnTextSubheader subheader whose text block contains the name
of the column - with the length of COLUMN_NAME_TEXT_SUBHEADER_LENGTH bytes and an offset measured from
the beginning of the SasFileParser.ColumnNameSubheader subheader
and calculated by the following formula: COLUMN_NAME_TEXT_SUBHEADER_OFFSET +
+ column number * COLUMN_NAME_POINTER_LENGTH + size of the value type (int or long
depending on the ALIGN_2_VALUE value). |
static long |
COLUMN_NAME_TEXT_SUBHEADER_OFFSET
For each table column, the sas7bdat file stores the index of the
SasFileParser.ColumnTextSubheader subheader whose text block contains the name
of the column - with the length of COLUMN_NAME_TEXT_SUBHEADER_LENGTH bytes and an offset
measured from the beginning of the SasFileParser.ColumnNameSubheader subheader
and calculated by the following formula: COLUMN_NAME_TEXT_SUBHEADER_OFFSET +
+ column number * COLUMN_NAME_POINTER_LENGTH + size of the value type (int or long
depending on the ALIGN_2_VALUE value). |
static int |
COLUMN_TYPE_LENGTH
For every table column, the sas7bdat file stores the data type of a column:
- with the length of COLUMN_TYPE_LENGTH bytes.
|
static long |
COLUMN_TYPE_OFFSET
For every table column, the sas7bdat file stores the data type of a column:
- with the length of
COLUMN_TYPE_LENGTH bytes. |
static String |
COMPRESS_BIN_IDENTIFYING_STRING
A substring that appears in the text block with information about file compression and table rows
(name, label, format) if BIN compression is used.
|
static String |
COMPRESS_CHAR_IDENTIFYING_STRING
A substring that appears in the text block with information about file compression and table rows
(name, label, format) if CHAR compression is used.
|
static int |
COMPRESSED_SUBHEADER_ID
A subheader with compressed data has two parameters:
its
SasFileParser.SubheaderPointer.compression should equal to COMPRESSED_SUBHEADER_ID and its
SasFileParser.SubheaderPointer.type should equal to COMPRESSED_SUBHEADER_TYPE. |
static int |
COMPRESSED_SUBHEADER_TYPE
A Subheader with compressed data has two parameters:
its
SasFileParser.SubheaderPointer.compression should equal to
COMPRESSED_SUBHEADER_ID and its SasFileParser.SubheaderPointer.type
should equal to COMPRESSED_SUBHEADER_TYPE. |
static int |
COMPRESSION_METHOD_LENGTH_LENGTH
The sas7bdat file stores the length of the compression method name (in symbols):
- with the length of COMPRESSION_METHOD_LENGTH_LENGTH bytes.
|
static long |
COMPRESSION_METHOD_LENGTH_OFFSET
The sas7bdat file stores the length of the compression method name (in symbols):
- with the length of
COMPRESSION_METHOD_LENGTH_LENGTH bytes. |
static long |
COMPRESSION_METHOD_OFFSET
The sas7bdat file stores the offset of the compression method name (in symbols):
- with the length of
COMPRESSION_METHOD_OFFSET_LENGTH bytes,
- at an offset calculated as COMPRESSION_METHOD_OFFSET bytes +
82 * the size of value types (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.RowSizeSubheader subheader. |
static int |
COMPRESSION_METHOD_OFFSET_LENGTH
The sas7bdat file stores the offset of the compression method name (in symbols):
- with the length of COMPRESSION_METHOD_OFFSET_LENGTH bytes,
- at an offset calculated as
COMPRESSION_METHOD_OFFSET bytes +
82 * the size of value types (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.RowSizeSubheader subheader. |
static int |
DATASET_LENGTH
The sas7bdat file stores the table name with the length of DATASET_LENGTH bytes and
a
DATASET_OFFSET bytes offset. |
static long |
DATASET_OFFSET
The sas7bdat file stores the table name with the length of
DATASET_LENGTH bytes and
a DATASET_OFFSET bytes offset. |
static int |
DATE_CREATED_LENGTH
The sas7bdat file stores its creation date with the length of DATE_CREATED_LENGTH bytes and
a
DATE_CREATED_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE). |
static long |
DATE_CREATED_OFFSET
The sas7bdat file stores its creation date with the length of
DATE_CREATED_LENGTH bytes
and a DATE_CREATED_OFFSET bytes offset (with possible addition of ALIGN_1_VALUE). |
static int |
DATE_MODIFIED_LENGTH
The sas7bdat file stores its last modification date with the length of DATE_MODIFIED_LENGTH bytes and
a
DATE_MODIFIED_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE). |
static long |
DATE_MODIFIED_OFFSET
The sas7bdat file stores its last modification date with the length of
DATE_MODIFIED_LENGTH bytes and a DATE_MODIFIED_OFFSET bytes offset (with possible
addition of ALIGN_1_VALUE). |
static int |
DAYS_IN_YEAR
Deprecated.
|
static int |
DELETED_ROW_COUNT_OFFSET_MULTIPLIER
The multiplier whose product with the length of the variable type (that can be int or long depending on the
ALIGN_2_VALUE value) is the offset from the subheader beginning
SasFileParser.RowSizeSubheader at which the number of deleted rows in the table is stored. |
static int |
ENCODING_LENGTH
The sas7bdat files its character encoding with the length of ENCODING_LENGTH bytes and
a
ENCODING_OFFSET bytes offset. |
static long |
ENCODING_OFFSET
The sas7bdat file stores its character encoding with the length of
ENCODING_LENGTH bytes
and a ENCODING_OFFSET bytes offset. |
static int |
ENDIANNESS_LENGTH
If a value with the length of ENDIANNESS_LENGTH bytes stored in the sas7bdat file with
a
ENDIANNESS_OFFSET bytes offset equals to 1 then the bytes order is
little-endian (Intel), if the value equals to 0 then the bytes order is big-endian. |
static long |
ENDIANNESS_OFFSET
If a value with the length of
ENDIANNESS_LENGTH bytes stored in the sas7bdat file with
a ENDIANNESS_OFFSET bytes offset equals to 1 then the bytes order is little-endian (Intel),
if the value equals to 0 then the bytes order is big-endian. |
static double |
EPSILON
Accuracy to define whether the numeric result of
SasFileParser.convertByteArrayToNumber(byte[]) is
a long or double value. |
static int |
FILE_FORMAT_LENGTH_LENGTH
The sas7bdat file stores the length of the file label (in symbols):
- with the length of FILE_FORMAT_LENGTH_LENGTH bytes.
|
static long |
FILE_FORMAT_LENGTH_OFFSET
The sas7bdat file stores the length of the file label (in symbols):
- with the length of
FILE_FORMAT_LENGTH_LENGTH bytes. |
static int |
FILE_FORMAT_OFFSET_LENGTH
The sas7bdat file stores the offset (in symbols) of the file label from
the beginning of the text block of the
SasFileParser.ColumnTextSubheader
subheader where it belongs:
- with the length of FILE_FORMAT_OFFSET_LENGTH bytes,
- at an offset calculated as FILE_FORMAT_OFFSET_OFFSET bytes +
+ 82 * the size of value types (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.RowSizeSubheader subheader. |
static long |
FILE_FORMAT_OFFSET_OFFSET
The sas7bdat file stores the offset (in symbols) of the file label from
the beginning of the text block of the
SasFileParser.ColumnTextSubheader subheader
where it belongs:
- with the length of FILE_FORMAT_OFFSET_LENGTH bytes,
- at an offset calculated as FILE_FORMAT_OFFSET_OFFSET bytes + 82 * the size of value types
(int or long depending on ALIGN_2_VALUE) from the beginning of
the SasFileParser.RowSizeSubheader subheader. |
static int |
FILE_TYPE_LENGTH
The sas7bdat file stores its file type with the length of FILE_TYPE_LENGTH bytes and
a
FILE_TYPE_OFFSET bytes offset. |
static long |
FILE_TYPE_OFFSET
The sas7bdat file stores its file type with the length of
FILE_TYPE_LENGTH bytes
and a FILE_TYPE_OFFSET bytes offset. |
static int |
HEADER_SIZE_LENGTH
The sas7bdat file stores the length of its metadata (can be 1024 and 8192) as an int value with the length of
HEADER_SIZE_LENGTH bytes and a
HEADER_SIZE_OFFSET bytes offset (with possible addition
of ALIGN_1_VALUE). |
static long |
HEADER_SIZE_OFFSET
The sas7bdat file stores the length of its metadata (can be 1024 and 8192) as an int value with the length of
HEADER_SIZE_LENGTH bytes and a HEADER_SIZE_OFFSET bytes offset (with possible addition
of ALIGN_1_VALUE). |
static int |
HOURS_IN_DAY
Deprecated.
|
static int |
LITTLE_ENDIAN_CHECKER
If a value with the length of ENDIANNESS_LENGTH bytes stored in the sas7bdat file with
a
ENDIANNESS_OFFSET bytes offset equals to LITTLE_ENDIAN_CHECKER
then the bytes order is little-endian (Intel), if the value equals to
BIG_ENDIAN_CHECKER then the bytes order is big-endian. |
static long |
MILLISECONDS_IN_SECONDS
Deprecated.
|
static int |
MINUTES_IN_HOUR
Deprecated.
|
static double |
NAN_EPSILON
Accuracy to define whether the numeric result of
SasFileParser.convertByteArrayToNumber(byte[]) is NAN. |
static int |
OS_MAKER_LENGTH
The sas7bdat file stores the name of the OS in which the sas7bdat was created with the length of OS_MAKER_LENGTH
bytes and a
OS_MAKER_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE). |
static long |
OS_MAKER_OFFSET
The sas7bdat file stores the name of the OS in which the sas7bdat was created with the length of
OS_MAKER_LENGTH bytes and a OS_MAKER_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE). |
static int |
OS_NAME_LENGTH
The sas7bdat file stores the name of the OS in which the sas7bdat was created with the length of OS_NAME_LENGTH
bytes and a
OS_NAME_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE). |
static long |
OS_NAME_OFFSET
The sas7bdat file stores the name of the OS in which the sas7bdat was created with the length of
OS_NAME_LENGTH bytes and a OS_NAME_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE). |
static int |
OS_VERSION_NUMBER_LENGTH
The sas7bdat file stores the version of the OS in which the sas7bdat was created with the length of
OS_VERSION_NUMBER_LENGTH bytes and a
OS_VERSION_NUMBER_OFFSET bytes offset (with
possible addition of ALIGN_1_VALUE and ALIGN_2_VALUE). |
static long |
OS_VERSION_NUMBER_OFFSET
The sas7bdat file stores the version of the OS in which the sas7bdat was created with the length of
OS_VERSION_NUMBER_LENGTH bytes and a OS_VERSION_NUMBER_OFFSET bytes offset
(with possible addition of ALIGN_1_VALUE and ALIGN_2_VALUE). |
static int |
PAGE_AMD_TYPE
The page type amd.
|
static int |
PAGE_BIT_OFFSET_X64
An offset in bytes from the start of the page - for sas7bdat files created in the 64-bit version of SAS
(see
ALIGN_2_VALUE). |
static int |
PAGE_BIT_OFFSET_X86
An offset in bytes from the start of the page - for sas7bdat files created in the 32-bit version of SAS
(see
ALIGN_2_VALUE). |
static int |
PAGE_CMETA_TYPE
The page type storing metadata as a set of subheaders.
|
static int |
PAGE_COUNT_LENGTH
The sas7bdat file stores the number of its pages as an int or long value (depending on
ALIGN_2_VALUE) with the length of PAGE_COUNT_LENGTH bytes (with possible addition of
ALIGN_2_VALUE) and a PAGE_COUNT_OFFSET bytes offset
(with possible addition of ALIGN_1_VALUE). |
static long |
PAGE_COUNT_OFFSET
The sas7bdat file stores the number of its pages as an int or long value (depending on
ALIGN_2_VALUE) with the length of PAGE_COUNT_LENGTH bytes
(with possible addition of ALIGN_2_VALUE) and a PAGE_COUNT_OFFSET bytes offset
(with possible addition of ALIGN_1_VALUE). |
static int |
PAGE_DATA_TYPE
The page type storing only data as a number of table rows.
|
static int |
PAGE_DATA_TYPE_2
Another page type for storing only data as a number of table rows.
|
static int |
PAGE_DELETED_POINTER_LENGTH
The length of the deleted record pointer from the beginning of the
PAGE_DELETED_POINTER_OFFSET_X64
or PAGE_DELETED_POINTER_OFFSET_X86. |
static long |
PAGE_DELETED_POINTER_OFFSET_X64
The offset to the pointer for the bitwise representation of deleted records in MIX pages in x64.
|
static long |
PAGE_DELETED_POINTER_OFFSET_X86
The offset to the pointer for the bitwise representation of deleted records in MIX pages in x86.
|
static int |
PAGE_META_TYPE_1
The page type storing metadata as a set of subheaders.
|
static int |
PAGE_META_TYPE_2
The page type storing metadata as a set of subheaders.
|
static int |
PAGE_MIX_TYPE_1
The page type storing metadata as a set of subheaders and data as a number of table rows.
|
static int |
PAGE_MIX_TYPE_2
The page type storing metadata as a set of subheaders and data as a number of table rows.
|
static int |
PAGE_SIZE_LENGTH
The sas7bdat file stores the length of its pages as an int value with the length of PAGE_SIZE_LENGTH bytes and
a
PAGE_SIZE_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE). |
static long |
PAGE_SIZE_OFFSET
The sas7bdat file stores the length of its pages as an int value with the length of
PAGE_SIZE_LENGTH bytes and a PAGE_SIZE_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE). |
static int |
PAGE_TYPE_LENGTH
The sas7bdat file stores the type of page as a short value with the length of PAGE_TYPE_LENGTH bytes
and a
PAGE_TYPE_OFFSET bytes offset (with addition of
PAGE_BIT_OFFSET_X86 or PAGE_BIT_OFFSET_X64). |
static long |
PAGE_TYPE_OFFSET
The sas7bdat file stores the type of page as a short value with the length of
PAGE_TYPE_LENGTH bytes and a PAGE_TYPE_OFFSET bytes offset (with addition of
PAGE_BIT_OFFSET_X86 or PAGE_BIT_OFFSET_X64). |
static int |
ROW_COUNT_OFFSET_MULTIPLIER
The multiplier whose product with the length of the variable type (that can be int or long depending on the
ALIGN_2_VALUE value) is the offset from the subheader beginning
SasFileParser.RowSizeSubheader at which the number of rows in the table is stored. |
static int |
ROW_COUNT_ON_MIX_PAGE_OFFSET_MULTIPLIER
The multiplier whose product with the length of the variable type (that can be int or long depending on the
ALIGN_2_VALUE value) is the offset from the subheader beginning
SasFileParser.RowSizeSubheader at which the file stores the number of rows in the table
on the last page of the PAGE_MIX_TYPE_1 or PAGE_MIX_TYPE_2
type. |
static int |
ROW_LENGTH_OFFSET_MULTIPLIER
The multiplier whose product with the length of the variable type (that can be int or long depending on the
ALIGN_2_VALUE value) is the offset from the subheader beginning
SasFileParser.RowSizeSubheader at which the row length is stored. |
static Map<Byte,String> |
SAS_CHARACTER_ENCODINGS
The integer (one or two bytes) at the
ENCODING_OFFSET indicates the character encoding
of string data. |
static int |
SAS_RELEASE_LENGTH
The sas7bdat file stores the name of SAS version in which the sas7bdat was created with the length of
SAS_RELEASE_LENGTH bytes and a
SAS_RELEASE_OFFSET bytes offset (with possible addition
of ALIGN_1_VALUE and ALIGN_2_VALUE). |
static long |
SAS_RELEASE_OFFSET
The sas7bdat file stores the name of SAS version in which the sas7bdat was created with the length of
SAS_RELEASE_LENGTH bytes and a SAS_RELEASE_OFFSET bytes offset (with possible addition
of ALIGN_1_VALUE and ALIGN_2_VALUE). |
static int |
SAS_SERVER_TYPE_LENGTH
The sas7bdat file stores the name of the server version on which the sas7bdat was created with the length of
SAS_SERVER_TYPE_LENGTH bytes and a
SAS_SERVER_TYPE_OFFSET bytes offset (with possible
addition of ALIGN_1_VALUE and ALIGN_2_VALUE). |
static long |
SAS_SERVER_TYPE_OFFSET
The sas7bdat file stores the name of the server version on which the sas7bdat was created with the length of
SAS_SERVER_TYPE_LENGTH bytes and a SAS_SERVER_TYPE_OFFSET bytes offset (with possible
addition of ALIGN_1_VALUE and ALIGN_2_VALUE). |
static int |
SECONDS_IN_DAY
Deprecated.
|
static int |
SECONDS_IN_MINUTE
Deprecated.
|
static int |
START_DATES_DAYS_DIFFERENCE
Deprecated.
|
static int |
START_DATES_SECONDS_DIFFERENCE
Deprecated.
|
static int |
SUBHEADER_COUNT_LENGTH
For pages of the
PAGE_META_TYPE_1, PAGE_META_TYPE_2,
PAGE_MIX_TYPE_1 and PAGE_MIX_TYPE_2 types,
the sas7bdat file stores the number of subheaders on the current page as a short value - with the length of
SUBHEADER_COUNT_LENGTH bytes and a SUBHEADER_COUNT_OFFSET bytes offset from the
beginning of the page (with addition of PAGE_BIT_OFFSET_X86
or PAGE_BIT_OFFSET_X64). |
static long |
SUBHEADER_COUNT_OFFSET
For pages of the
PAGE_META_TYPE_1, PAGE_META_TYPE_2
PAGE_MIX_TYPE_1 and PAGE_MIX_TYPE_2 types,
the sas7bdat file stores the number of subheaders on the current page as a short value - with the length of
SUBHEADER_COUNT_LENGTH bytes and a SUBHEADER_COUNT_OFFSET bytes offset
from the beginning of the page (with addition of PAGE_BIT_OFFSET_X86
or PAGE_BIT_OFFSET_X64). |
static int |
SUBHEADER_POINTER_LENGTH_X64
The length in bytes of one subheader pointer (
SasFileParser.SubheaderPointer) of a sas7bdat file
created in the 64-bit version of SAS (see ALIGN_2_VALUE). |
static int |
SUBHEADER_POINTER_LENGTH_X86
The length in bytes of one subheader pointer (
SasFileParser.SubheaderPointer) of a sas7bdat file
created in the 32-bit version of SAS (see ALIGN_2_VALUE). |
static int |
SUBHEADER_POINTERS_OFFSET
The sas7bdat file stores the array of subheader pointers (
SasFileParser.SubheaderPointer) at this
offset (adding PAGE_BIT_OFFSET_X86 or PAGE_BIT_OFFSET_X64)
from the beginning of the page. |
static int |
TEXT_BLOCK_SIZE_LENGTH
The number of bytes taken by the value denoting the length of the text block with information about
file compression and table rows (name, label, format).
|
static int |
TRUNCATED_SUBHEADER_ID
If the
SasFileParser.SubheaderPointer.compression value of a subheader equals to TRUNCATED_SUBHEADER_ID
then it does not contain useful information. |
static int |
U64_BYTE_CHECKER_VALUE
If a value with the length of
ALIGN_2_LENGTH bytes stored in the sas7bdat file with
a ALIGN_2_OFFSET bytes offset equals to U64_BYTE_CHECKER_VALUE, then:
- this sas7bdat file was created in the 64-bit version of SAS,
- starting from the SAS_RELEASE_OFFSET bytes offset every offset should increase by
ALIGN_2_VALUE bytes (in addition to ALIGN_1_VALUE bytes, if
those are added),
- the PAGE_COUNT_LENGTH value should increase by ALIGN_2_VALUE
bytes and the number of pages stored at the PAGE_COUNT_OFFSET bytes offset should read
as long. |
static final int BYTES_IN_LONG
static final int BYTES_IN_DOUBLE
static final int BYTES_IN_INT
static final int ALIGN_1_CHECKER_VALUE
ALIGN_1_LENGTH bytes stored in the sas7bdat file with
a ALIGN_1_OFFSET bytes offset equals to ALIGN_1_CHECKER_VALUE, then starting from
the DATE_CREATED_OFFSET bytes offset every offset should increase by
ALIGN_1_VALUE bytes.static final long ALIGN_1_OFFSET
ALIGN_1_LENGTH bytes stored in the sas7bdat file with
a ALIGN_1_OFFSET bytes offset equals to ALIGN_1_CHECKER_VALUE, then starting from
the DATE_CREATED_OFFSET bytes offset every offset should increase by
ALIGN_1_VALUE bytes.static final int ALIGN_1_LENGTH
ALIGN_1_OFFSET bytes offset equals to ALIGN_1_CHECKER_VALUE,
then starting from the DATE_CREATED_OFFSET bytes offset every offset should increase
by ALIGN_1_VALUE bytes.static final int ALIGN_1_VALUE
ALIGN_1_LENGTH bytes stored in the sas7bdat file with
a ALIGN_1_OFFSET bytes offset equals to ALIGN_1_CHECKER_VALUE,
then starting from the DATE_CREATED_OFFSET bytes offset every offset should increase by
ALIGN_1_VALUE bytes.static final int U64_BYTE_CHECKER_VALUE
ALIGN_2_LENGTH bytes stored in the sas7bdat file with
a ALIGN_2_OFFSET bytes offset equals to U64_BYTE_CHECKER_VALUE, then:
- this sas7bdat file was created in the 64-bit version of SAS,
- starting from the SAS_RELEASE_OFFSET bytes offset every offset should increase by
ALIGN_2_VALUE bytes (in addition to ALIGN_1_VALUE bytes, if
those are added),
- the PAGE_COUNT_LENGTH value should increase by ALIGN_2_VALUE
bytes and the number of pages stored at the PAGE_COUNT_OFFSET bytes offset should read
as long.static final long ALIGN_2_OFFSET
ALIGN_2_LENGTH bytes stored in the sas7bdat file with
a ALIGN_2_OFFSET bytes offset equals to U64_BYTE_CHECKER_VALUE, then:
- this sas7bdat file was created in the 64-bit version of SAS,
- starting from the SAS_RELEASE_OFFSET bytes offset every offset should increase
by ALIGN_2_VALUE bytes, (in addition to ALIGN_1_VALUE
bytes if those are added) and the number of pages stored at the PAGE_COUNT_OFFSET bytes
offset should read as long.static final int ALIGN_2_LENGTH
ALIGN_2_OFFSET bytes offset equals to
U64_BYTE_CHECKER_VALUE, then:
- this sas7bdat file was created in the 64-bit version of SAS,
- starting from the SAS_RELEASE_OFFSET bytes offset every offset should increase by
ALIGN_2_VALUE bytes (in addition to ALIGN_1_VALUE bytes if
those are added) and the number of pages stored at the PAGE_COUNT_OFFSET bytes offset
should read as long.static final int ALIGN_2_VALUE
ALIGN_2_LENGTH bytes stored in the sas7bdat file with
a ALIGN_2_OFFSET bytes offset equals to
U64_BYTE_CHECKER_VALUE, then:
- this sas7bdat file was created in the 64-bit version of SAS,
- starting from the SAS_RELEASE_OFFSET bytes offset every offset should increase by
ALIGN_2_VALUE bytes (in addition to ALIGN_1_VALUE bytes if those are added) and
the number of pages stored at the PAGE_COUNT_OFFSET bytes offset should read as long.static final long ENDIANNESS_OFFSET
ENDIANNESS_LENGTH bytes stored in the sas7bdat file with
a ENDIANNESS_OFFSET bytes offset equals to 1 then the bytes order is little-endian (Intel),
if the value equals to 0 then the bytes order is big-endian.static final int ENDIANNESS_LENGTH
ENDIANNESS_OFFSET bytes offset equals to 1 then the bytes order is
little-endian (Intel), if the value equals to 0 then the bytes order is big-endian.static final int LITTLE_ENDIAN_CHECKER
ENDIANNESS_OFFSET bytes offset equals to LITTLE_ENDIAN_CHECKER
then the bytes order is little-endian (Intel), if the value equals to
BIG_ENDIAN_CHECKER then the bytes order is big-endian.static final int BIG_ENDIAN_CHECKER
ENDIANNESS_OFFSET bytes offset equals to
LITTLE_ENDIAN_CHECKER then the bytes order is little-endian (Intel),
if the value equals to BIG_ENDIAN_CHECKER then the bytes order is big-endian.static final long ENCODING_OFFSET
ENCODING_LENGTH bytes
and a ENCODING_OFFSET bytes offset.static final int ENCODING_LENGTH
ENCODING_OFFSET bytes offset.static final Map<Byte,String> SAS_CHARACTER_ENCODINGS
ENCODING_OFFSET indicates the character encoding
of string data. The SAS_CHARACTER_ENCODINGS map links the values that are known to occur and the associated
encoding. This list excludes encodings present in SAS but missing support in java.nio.charsetstatic final long DATASET_OFFSET
DATASET_LENGTH bytes and
a DATASET_OFFSET bytes offset.static final int DATASET_LENGTH
DATASET_OFFSET bytes offset.static final long FILE_TYPE_OFFSET
FILE_TYPE_LENGTH bytes
and a FILE_TYPE_OFFSET bytes offset.static final int FILE_TYPE_LENGTH
FILE_TYPE_OFFSET bytes offset.static final long DATE_CREATED_OFFSET
DATE_CREATED_LENGTH bytes
and a DATE_CREATED_OFFSET bytes offset (with possible addition of ALIGN_1_VALUE).
The date is a double value denoting the number of seconds elapsed from 01/01/1960 to the date stored.static final int DATE_CREATED_LENGTH
DATE_CREATED_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE). The date is a double value denoting the number of seconds elapsed
from 01/01/1960 to the date stored.static final long DATE_MODIFIED_OFFSET
DATE_MODIFIED_LENGTH bytes and a DATE_MODIFIED_OFFSET bytes offset (with possible
addition of ALIGN_1_VALUE). The date is a double value denoting the number of seconds
elapsed from 01/01/1960 to the date stored.static final int DATE_MODIFIED_LENGTH
DATE_MODIFIED_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE). The date is a value of double format denoting the number of seconds
elapsed from 01/01/1960 to the date stored.static final long HEADER_SIZE_OFFSET
HEADER_SIZE_LENGTH bytes and a HEADER_SIZE_OFFSET bytes offset (with possible addition
of ALIGN_1_VALUE).static final int HEADER_SIZE_LENGTH
HEADER_SIZE_OFFSET bytes offset (with possible addition
of ALIGN_1_VALUE).static final long PAGE_SIZE_OFFSET
PAGE_SIZE_LENGTH bytes and a PAGE_SIZE_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE).static final int PAGE_SIZE_LENGTH
PAGE_SIZE_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE).static final long PAGE_COUNT_OFFSET
ALIGN_2_VALUE) with the length of PAGE_COUNT_LENGTH bytes
(with possible addition of ALIGN_2_VALUE) and a PAGE_COUNT_OFFSET bytes offset
(with possible addition of ALIGN_1_VALUE).static final int PAGE_COUNT_LENGTH
ALIGN_2_VALUE) with the length of PAGE_COUNT_LENGTH bytes (with possible addition of
ALIGN_2_VALUE) and a PAGE_COUNT_OFFSET bytes offset
(with possible addition of ALIGN_1_VALUE).static final long SAS_RELEASE_OFFSET
SAS_RELEASE_LENGTH bytes and a SAS_RELEASE_OFFSET bytes offset (with possible addition
of ALIGN_1_VALUE and ALIGN_2_VALUE).static final int SAS_RELEASE_LENGTH
SAS_RELEASE_OFFSET bytes offset (with possible addition
of ALIGN_1_VALUE and ALIGN_2_VALUE).static final long SAS_SERVER_TYPE_OFFSET
SAS_SERVER_TYPE_LENGTH bytes and a SAS_SERVER_TYPE_OFFSET bytes offset (with possible
addition of ALIGN_1_VALUE and ALIGN_2_VALUE).static final int SAS_SERVER_TYPE_LENGTH
SAS_SERVER_TYPE_OFFSET bytes offset (with possible
addition of ALIGN_1_VALUE and ALIGN_2_VALUE).static final long OS_VERSION_NUMBER_OFFSET
OS_VERSION_NUMBER_LENGTH bytes and a OS_VERSION_NUMBER_OFFSET bytes offset
(with possible addition of ALIGN_1_VALUE and ALIGN_2_VALUE).static final int OS_VERSION_NUMBER_LENGTH
OS_VERSION_NUMBER_OFFSET bytes offset (with
possible addition of ALIGN_1_VALUE and ALIGN_2_VALUE).static final long OS_MAKER_OFFSET
OS_MAKER_LENGTH bytes and a OS_MAKER_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE). If the OS name is
an empty string, then the file stores the OS name with the length of OS_NAME_LENGTH
bytes and a OS_NAME_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE).static final int OS_MAKER_LENGTH
OS_MAKER_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE). If the OS name is
an empty string, then the file stores the OS name with the length of OS_NAME_LENGTH
bytes and a OS_NAME_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE).static final long OS_NAME_OFFSET
OS_NAME_LENGTH bytes and a OS_NAME_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE). If the OS name is
an empty string, then the file stores the OS name with the length of OS_MAKER_LENGTH
bytes and a OS_MAKER_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE).static final int OS_NAME_LENGTH
OS_NAME_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE). If the OS name is
an empty string, then the file stores the OS name with the length of OS_MAKER_LENGTH
bytes and a OS_MAKER_OFFSET bytes offset (with possible addition of
ALIGN_1_VALUE and ALIGN_2_VALUE).static final int PAGE_BIT_OFFSET_X86
ALIGN_2_VALUE). Added to all offsets within a page.static final int PAGE_BIT_OFFSET_X64
ALIGN_2_VALUE). Added to all offsets within a page.static final int SUBHEADER_POINTER_LENGTH_X86
SasFileParser.SubheaderPointer) of a sas7bdat file
created in the 32-bit version of SAS (see ALIGN_2_VALUE).static final int SUBHEADER_POINTER_LENGTH_X64
SasFileParser.SubheaderPointer) of a sas7bdat file
created in the 64-bit version of SAS (see ALIGN_2_VALUE).static final long PAGE_TYPE_OFFSET
PAGE_TYPE_LENGTH bytes and a PAGE_TYPE_OFFSET bytes offset (with addition of
PAGE_BIT_OFFSET_X86 or PAGE_BIT_OFFSET_X64).
There can be PAGE_META_TYPE_1, PAGE_META_TYPE_2,
PAGE_DATA_TYPE, PAGE_MIX_TYPE_1,
PAGE_MIX_TYPE_2 or PAGE_AMD_TYPE page types.static final int PAGE_TYPE_LENGTH
PAGE_TYPE_OFFSET bytes offset (with addition of
PAGE_BIT_OFFSET_X86 or PAGE_BIT_OFFSET_X64).
There can be PAGE_META_TYPE_1, PAGE_META_TYPE_2,
PAGE_DATA_TYPE, PAGE_MIX_TYPE_1
PAGE_MIX_TYPE_2 or PAGE_AMD_TYPE page types.static final long BLOCK_COUNT_OFFSET
PAGE_DATA_TYPE type, the sas7bdat file stores the number of rows
in the table on the current page as a short value - with the length of
BLOCK_COUNT_LENGTH bytes and a BLOCK_COUNT_OFFSET bytes offset (with addition of
PAGE_BIT_OFFSET_X86 or PAGE_BIT_OFFSET_X64).static final int BLOCK_COUNT_LENGTH
PAGE_DATA_TYPE type, the sas7bdat file stores the number of rows
in the table on the current page as a short value - with the length of BLOCK_COUNT_LENGTH bytes
and a BLOCK_COUNT_OFFSET bytes offset (with addition of
PAGE_BIT_OFFSET_X86 or PAGE_BIT_OFFSET_X64).static final long SUBHEADER_COUNT_OFFSET
PAGE_META_TYPE_1, PAGE_META_TYPE_2
PAGE_MIX_TYPE_1 and PAGE_MIX_TYPE_2 types,
the sas7bdat file stores the number of subheaders on the current page as a short value - with the length of
SUBHEADER_COUNT_LENGTH bytes and a SUBHEADER_COUNT_OFFSET bytes offset
from the beginning of the page (with addition of PAGE_BIT_OFFSET_X86
or PAGE_BIT_OFFSET_X64).static final int SUBHEADER_COUNT_LENGTH
PAGE_META_TYPE_1, PAGE_META_TYPE_2,
PAGE_MIX_TYPE_1 and PAGE_MIX_TYPE_2 types,
the sas7bdat file stores the number of subheaders on the current page as a short value - with the length of
SUBHEADER_COUNT_LENGTH bytes and a SUBHEADER_COUNT_OFFSET bytes offset from the
beginning of the page (with addition of PAGE_BIT_OFFSET_X86
or PAGE_BIT_OFFSET_X64).static final int PAGE_META_TYPE_1
static final int PAGE_META_TYPE_2
static final int PAGE_CMETA_TYPE
static final int PAGE_DATA_TYPE
static final int PAGE_DATA_TYPE_2
static final int PAGE_MIX_TYPE_1
static final int PAGE_MIX_TYPE_2
static final int PAGE_AMD_TYPE
static final int SUBHEADER_POINTERS_OFFSET
SasFileParser.SubheaderPointer) at this
offset (adding PAGE_BIT_OFFSET_X86 or PAGE_BIT_OFFSET_X64)
from the beginning of the page.static final int TRUNCATED_SUBHEADER_ID
SasFileParser.SubheaderPointer.compression value of a subheader equals to TRUNCATED_SUBHEADER_ID
then it does not contain useful information.static final int COMPRESSED_SUBHEADER_ID
SasFileParser.SubheaderPointer.compression should equal to COMPRESSED_SUBHEADER_ID and its
SasFileParser.SubheaderPointer.type should equal to COMPRESSED_SUBHEADER_TYPE.static final int COMPRESSED_SUBHEADER_TYPE
SasFileParser.SubheaderPointer.compression should equal to
COMPRESSED_SUBHEADER_ID and its SasFileParser.SubheaderPointer.type
should equal to COMPRESSED_SUBHEADER_TYPE.static final int BITS_IN_BYTE
static final int ROW_LENGTH_OFFSET_MULTIPLIER
ALIGN_2_VALUE value) is the offset from the subheader beginning
SasFileParser.RowSizeSubheader at which the row length is stored.static final int ROW_COUNT_OFFSET_MULTIPLIER
ALIGN_2_VALUE value) is the offset from the subheader beginning
SasFileParser.RowSizeSubheader at which the number of rows in the table is stored.static final int DELETED_ROW_COUNT_OFFSET_MULTIPLIER
ALIGN_2_VALUE value) is the offset from the subheader beginning
SasFileParser.RowSizeSubheader at which the number of deleted rows in the table is stored.static final int ROW_COUNT_ON_MIX_PAGE_OFFSET_MULTIPLIER
ALIGN_2_VALUE value) is the offset from the subheader beginning
SasFileParser.RowSizeSubheader at which the file stores the number of rows in the table
on the last page of the PAGE_MIX_TYPE_1 or PAGE_MIX_TYPE_2
type.static final int TEXT_BLOCK_SIZE_LENGTH
static final String COMPRESS_CHAR_IDENTIFYING_STRING
static final String COMPRESS_BIN_IDENTIFYING_STRING
static final int COLUMN_NAME_POINTER_LENGTH
static final long COLUMN_NAME_TEXT_SUBHEADER_OFFSET
SasFileParser.ColumnTextSubheader subheader whose text block contains the name
of the column - with the length of COLUMN_NAME_TEXT_SUBHEADER_LENGTH bytes and an offset
measured from the beginning of the SasFileParser.ColumnNameSubheader subheader
and calculated by the following formula: COLUMN_NAME_TEXT_SUBHEADER_OFFSET +
+ column number * COLUMN_NAME_POINTER_LENGTH + size of the value type (int or long
depending on the ALIGN_2_VALUE value).static final int COLUMN_NAME_TEXT_SUBHEADER_LENGTH
SasFileParser.ColumnTextSubheader subheader whose text block contains the name
of the column - with the length of COLUMN_NAME_TEXT_SUBHEADER_LENGTH bytes and an offset measured from
the beginning of the SasFileParser.ColumnNameSubheader subheader
and calculated by the following formula: COLUMN_NAME_TEXT_SUBHEADER_OFFSET +
+ column number * COLUMN_NAME_POINTER_LENGTH + size of the value type (int or long
depending on the ALIGN_2_VALUE value).static final long COLUMN_NAME_OFFSET_OFFSET
SasFileParser.ColumnTextSubheader subheader (see
COLUMN_NAME_TEXT_SUBHEADER_OFFSET)- with the length of
COLUMN_NAME_OFFSET_LENGTH bytes and an offset measured from the beginning
of the SasFileParser.ColumnNameSubheader subheader and calculated by
the following formula: COLUMN_NAME_OFFSET_OFFSET +
+ column number * COLUMN_NAME_POINTER_LENGTH + size of the value type (int or long
depending on the ALIGN_2_VALUE value).static final int COLUMN_NAME_OFFSET_LENGTH
SasFileParser.ColumnTextSubheader subheader (see
COLUMN_NAME_TEXT_SUBHEADER_OFFSET)- with the length of COLUMN_NAME_OFFSET_LENGTH bytes
and an offset measured from the beginning of the SasFileParser.ColumnNameSubheader
subheader and calculated by the following formula: COLUMN_NAME_OFFSET_OFFSET +
+ column number * COLUMN_NAME_POINTER_LENGTH + size of the value type (int or long
depending on the ALIGN_2_VALUE value).static final long COLUMN_NAME_LENGTH_OFFSET
COLUMN_NAME_LENGTH_LENGTH bytes,
- at an offset measured from the beginning of the
SasFileParser.ColumnNameSubheader subheader
and calculated by the following formula: COLUMN_NAME_LENGTH_OFFSET +
+ column number * COLUMN_NAME_POINTER_LENGTH + size of the value type (int or long
depending on the ALIGN_2_VALUE value).static final int COLUMN_NAME_LENGTH_LENGTH
SasFileParser.ColumnNameSubheader subheader and calculated
by the following formula: COLUMN_NAME_LENGTH_OFFSET +
+ column number * COLUMN_NAME_POINTER_LENGTH + size of the value type (int or long
depending on the ALIGN_2_VALUE value).static final long COLUMN_DATA_OFFSET_OFFSET
ALIGN_2_VALUE) that defines the offset of data in the current column
from the beginning of the row with data in bytes:
- at an offset measured from the beginning of the SasFileParser.ColumnAttributesSubheader subheader
and calculated by the following formula: COLUMN_DATA_OFFSET_OFFSET +
+ column index * (8 + the size of value type (int or long depending on ALIGN_2_VALUE)) +
+ the size of value type (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.ColumnAttributesSubheader subheader.static final long COLUMN_DATA_LENGTH_OFFSET
SasFileParser.ColumnAttributesSubheader subheader
and calculated by the following formula: COLUMN_DATA_LENGTH_OFFSET +
+ column index * (8 + the size of value type (int or long depending on ALIGN_2_VALUE)) +
+ the size of value type (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.ColumnAttributesSubheader subheader,
- with the length of COLUMN_DATA_LENGTH_LENGTH bytes.static final int COLUMN_DATA_LENGTH_LENGTH
SasFileParser.ColumnAttributesSubheader subheader
and calculated by the following formula: COLUMN_DATA_LENGTH_OFFSET +
+ column index * (8 + the size of value type (int or long depending on ALIGN_2_VALUE)) +
+ the size of value type (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.ColumnAttributesSubheader subheader,
- with the length of COLUMN_DATA_LENGTH_LENGTH bytes.static final long COLUMN_TYPE_OFFSET
COLUMN_TYPE_LENGTH bytes.
- at an offset measured from the beginning of the SasFileParser.ColumnAttributesSubheader subheader
and calculated by the following formula: COLUMN_TYPE_OFFSET +
+ column index * (8 + the size of value type (int or long depending on ALIGN_2_VALUE)) +
+ the size of value type (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.ColumnAttributesSubheader subheader,
If type=1, then the column stores numeric values, if type=0, the column stores text.static final int COLUMN_TYPE_LENGTH
SasFileParser.ColumnAttributesSubheader subheader
and calculated by the following formula: COLUMN_TYPE_OFFSET +
+ column index * (8 + the size of value type (int or long depending on ALIGN_2_VALUE)) +
+ the size of value type (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.ColumnAttributesSubheader subheader,
If type=1, then the column stores numeric values, if type=0, the column stores text.static final long COLUMN_FORMAT_WIDTH_OFFSET
COLUMN_FORMAT_WIDTH_OFFSET_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_WIDTH_OFFSET bytes + the size of value types
(int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final int COLUMN_FORMAT_WIDTH_OFFSET_LENGTH
bytes + the size of value types
(int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final long COLUMN_FORMAT_PRECISION_OFFSET
COLUMN_FORMAT_PRECISION_OFFSET_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_PRECISION_OFFSET bytes + the size of value types
(int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final int COLUMN_FORMAT_PRECISION_OFFSET_LENGTH
bytes +
+ the size of value type (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final long COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_OFFSET
SasFileParser.ColumnTextSubheader whose text block stores the column format:
- with the length of COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_OFFSET bytes +
+ 3 * the size of value types (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final int COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_LENGTH
SasFileParser.ColumnTextSubheader whose text block stores the column format:
- with the length of COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_OFFSET bytes +
+ 3 * the size of value types (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final long COLUMN_FORMAT_OFFSET_OFFSET
SasFileParser.ColumnTextSubheader subheader
where it belongs:
- with the length of COLUMN_FORMAT_OFFSET_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_OFFSET_OFFSET bytes + 3 * the size of value types
(int or long depending on ALIGN_2_VALUE) from the beginning of
the SasFileParser.FormatAndLabelSubheader subheader.static final int COLUMN_FORMAT_OFFSET_LENGTH
SasFileParser.ColumnTextSubheader
subheader where it belongs:
- with the length of COLUMN_FORMAT_OFFSET_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_OFFSET_OFFSET bytes +
+ 3 * the size of value types (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final long COLUMN_FORMAT_LENGTH_OFFSET
COLUMN_FORMAT_LENGTH_LENGTH bytes,
- at an offset calculated as COLUMN_FORMAT_LENGTH_OFFSET bytes + the size of three value types
(int or long depending on ALIGN_2_VALUE) from the beginning of
the SasFileParser.FormatAndLabelSubheader subheader.static final int COLUMN_FORMAT_LENGTH_LENGTH
COLUMN_FORMAT_LENGTH_OFFSET bytes +
3 * the size of value types (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final long COLUMN_LABEL_TEXT_SUBHEADER_INDEX_OFFSET
SasFileParser.ColumnTextSubheader subheader
whose text block contains the column label:
- with the length of COLUMN_LABEL_TEXT_SUBHEADER_INDEX_LENGTH bytes,
- at an offset calculated as COLUMN_LABEL_TEXT_SUBHEADER_INDEX_OFFSET bytes +
+ 3 * the size of value types (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final int COLUMN_LABEL_TEXT_SUBHEADER_INDEX_LENGTH
SasFileParser.ColumnTextSubheader subheader
whose text block contains the column label:
- with the length of COLUMN_LABEL_TEXT_SUBHEADER_INDEX_LENGTH bytes,
- at an offset equal to COLUMN_LABEL_TEXT_SUBHEADER_INDEX_OFFSET bytes +
+ 3 * the size of value types (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final long COLUMN_LABEL_OFFSET_OFFSET
COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_OFFSET):
- with the length of COLUMN_LABEL_OFFSET_LENGTH bytes.
- at an offset equal to COLUMN_LABEL_OFFSET_OFFSET bytes + 3 * the size of value types (int or long
depending on ALIGN_2_VALUE) from the beginning of
the SasFileParser.FormatAndLabelSubheader subheader.static final int COLUMN_LABEL_OFFSET_LENGTH
COLUMN_FORMAT_TEXT_SUBHEADER_INDEX_OFFSET):
- with the length of COLUMN_LABEL_OFFSET_LENGTH bytes.
- at an offset equal to COLUMN_LABEL_OFFSET_OFFSET bytes + 3 * the size
of value types(int or long depending on ALIGN_2_VALUE) from the beginning of the
SasFileParser.FormatAndLabelSubheader subheader.static final long COLUMN_LABEL_LENGTH_OFFSET
COLUMN_LABEL_LENGTH_LENGTH bytes.
- at an offset calculated as COLUMN_LABEL_LENGTH_OFFSET bytes +
3 * the size of value types (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final int COLUMN_LABEL_LENGTH_LENGTH
COLUMN_LABEL_LENGTH_OFFSET bytes +
3 * the size of value types(int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.FormatAndLabelSubheader subheader.static final long FILE_FORMAT_OFFSET_OFFSET
SasFileParser.ColumnTextSubheader subheader
where it belongs:
- with the length of FILE_FORMAT_OFFSET_LENGTH bytes,
- at an offset calculated as FILE_FORMAT_OFFSET_OFFSET bytes + 82 * the size of value types
(int or long depending on ALIGN_2_VALUE) from the beginning of
the SasFileParser.RowSizeSubheader subheader.static final int FILE_FORMAT_OFFSET_LENGTH
SasFileParser.ColumnTextSubheader
subheader where it belongs:
- with the length of FILE_FORMAT_OFFSET_LENGTH bytes,
- at an offset calculated as FILE_FORMAT_OFFSET_OFFSET bytes +
+ 82 * the size of value types (int or long depending on ALIGN_2_VALUE) from
the beginning of the SasFileParser.RowSizeSubheader subheader.static final long FILE_FORMAT_LENGTH_OFFSET
FILE_FORMAT_LENGTH_LENGTH bytes.
- at an offset calculated as FILE_FORMAT_LENGTH_OFFSET bytes +
82 * the size of value types (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.RowSizeSubheader subheader.static final int FILE_FORMAT_LENGTH_LENGTH
ALIGN_2_VALUE)
from the beginning of the SasFileParser.RowSizeSubheader subheader.static final long COMPRESSION_METHOD_OFFSET
COMPRESSION_METHOD_OFFSET_LENGTH bytes,
- at an offset calculated as COMPRESSION_METHOD_OFFSET bytes +
82 * the size of value types (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.RowSizeSubheader subheader.static final long COMPRESSION_METHOD_LENGTH_OFFSET
COMPRESSION_METHOD_LENGTH_LENGTH bytes.
- at an offset calculated as COMPRESSION_METHOD_LENGTH_OFFSET bytes +
82 * the size of value types(int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.RowSizeSubheader subheader.static final int COMPRESSION_METHOD_OFFSET_LENGTH
COMPRESSION_METHOD_OFFSET bytes +
82 * the size of value types (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.RowSizeSubheader subheader.static final int COMPRESSION_METHOD_LENGTH_LENGTH
COMPRESSION_METHOD_LENGTH_OFFSET bytes +
82 * the size of value types (int or long depending on ALIGN_2_VALUE)
from the beginning of the SasFileParser.RowSizeSubheader subheader.static final double EPSILON
SasFileParser.convertByteArrayToNumber(byte[]) is
a long or double value.static final double NAN_EPSILON
SasFileParser.convertByteArrayToNumber(byte[]) is NAN.@Deprecated static final long MILLISECONDS_IN_SECONDS
@Deprecated static final int SECONDS_IN_MINUTE
@Deprecated static final int MINUTES_IN_HOUR
@Deprecated static final int HOURS_IN_DAY
@Deprecated static final int DAYS_IN_YEAR
@Deprecated static final int START_DATES_DAYS_DIFFERENCE
@Deprecated static final int SECONDS_IN_DAY
@Deprecated static final int START_DATES_SECONDS_DIFFERENCE
static final long PAGE_DELETED_POINTER_OFFSET_X64
static final long PAGE_DELETED_POINTER_OFFSET_X86
static final int PAGE_DELETED_POINTER_LENGTH
PAGE_DELETED_POINTER_OFFSET_X64
or PAGE_DELETED_POINTER_OFFSET_X86.Copyright © 2021. All rights reserved.