public class RecordFactory extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ANNOTATION_TAGS_INDEX_VERSION
The version number that is associated with the change made to remove property value
pairs from the annotation records any properties on annotations would now be indexed
as part of the properties index.
|
static int |
COLUMN_INPUT_PARAMETER_FLAG_INDEX_VERSION
The version number that is associated with the change made to add an input parameter
flag on columns.
|
static int |
COLUMN_NATIVE_TYPE_INDEX_VERSION
The version number that is associated with the change made to add native type
property on columns.
|
static int |
COLUMN_NULL_DISTINCT_INDEX_VERSION
The version number that is associated with the change made to add count of null and
distinct values for columns on the column records 7/8/2005.
|
static int |
CURRENT_INDEX_VERSION
The version number that is encoded with all newly created index records
|
static int |
DELIMITER_INDEX_VERSION
The version number that is associated with the change made to change the list
delimiter.
|
static int |
INDEX_RECORD_BLOCK_SIZE |
static int |
NONVERSIONED_RECORD_INDEX_VERSION
The version number associated with any index records prior to the point
when version information was encoded in newly created records
|
static int |
NONZERO_UNKNOWN_CARDINALITY |
protected String |
parentId |
static int |
PRIMITIVE_TYPE_ID_INDEX_VERSION
The version number that is associated with the change made to add
primitive type ID on datatype records 02/28/2006.
|
static int |
PROCEDURE_UPDATE_COUNT_VERSION
The version number that is associated with the change made to add
an update count to physical stored and XQuery procedures 04/29/2008.
|
static String |
PROTOCOL |
static int |
TABLE_MATERIALIZATION_INDEX_VERSION
The version number that is associated with the change made to add materialization
property on tables.
|
static int |
TRANSFORMATION_UUID_INDEX_VERSION
The version number that is associated with the change made to add uuid for the
transformation mapping root on the transformation records, uuids would now be indexed
as part of the transformation index.
|
static String |
URI_REFERENCE_DELIMITER
Delimiter used to separate the URI string from the URI fragment
|
Constructor and Description |
---|
RecordFactory() |
Modifier and Type | Method and Description |
---|---|
Column |
createColumnRecord(char[] record)
Create a ColumnRecord instance from the specified index record
|
ColumnSet |
createColumnSetRecord(char[] record,
ColumnSet columnSet)
Create a ColumnSetRecord instance from the specified index record
|
Datatype |
createDatatypeRecord(char[] record)
Create a DatatypeRecord instance from the specified index record
|
ForeignKey |
createForeignKeyRecord(char[] record)
Create a ForeignKeyRecord instance from the specified index record
|
Schema |
createModelRecord(char[] record)
Create a ModelRecord instance from the specified index record
|
ProcedureParameter |
createProcedureParameterRecord(char[] record)
Create a ProcedureParameterRecord instance from the specified index record
header|defaultValue|dataType|length|radix|scale|nullType|precision|paramType|footer|
|
Procedure |
createProcedureRecord(char[] record)
Create a ProcedureRecord instance from the specified index record
|
Table |
createTableRecord(char[] record)
Create a TableRecord instance from the specified index record
|
TransformationRecordImpl |
createTransformationRecord(char[] record)
Create a TransformationRecord instance from the specified index record
|
static String |
extractUUIDString(IEntryResult result)
Extract the UUID string from the IEntryResult
|
boolean |
getBooleanValue(char b) |
static int |
getContinuationSegmentNumber(String objectID,
IEntryResult continuationResult) |
protected static short |
getKeyTypeForRecordType(char recordType) |
char |
getListDelimiter(int indexVersionNumber) |
protected AbstractMetadataRecord |
getMetadataRecord(char[] record)
Return the
AbstractMetadataRecord
instances for specified IEntryResult. |
List<AbstractMetadataRecord> |
getMetadataRecord(IEntryResult[] queryResult)
Return a collection of
AbstractMetadataRecord
instances for the result obtained from executing queryEntriesMatching |
String |
getObjectValue(String str) |
String |
getOptionalToken(List<String> tokens,
int tokenIndex) |
static List<String> |
getStrings(char[] record,
char listDelimiter) |
static List<String> |
getStrings(String record,
char listDelimiter) |
boolean |
includeAnnotationProperties(int indexVersionNumber) |
boolean |
includeColumnNativeType(int indexVersionNumber) |
boolean |
includeColumnNullDistinctValues(int indexVersionNumber) |
boolean |
includeInputParameterFlag(int indexVersionNumber) |
boolean |
includeMaterializationFlag(int indexVersionNumber) |
boolean |
includeMaterializedTables(int indexVersionNumber) |
boolean |
includePrimitiveTypeIdValue(int indexVersionNumber) |
boolean |
includeTransformationUUID(int indexVersionNumber) |
static IEntryResult |
joinEntryResults(IEntryResult result,
IEntryResult[] continuationResults,
int blockSize)
Append the specified IEntryResult[] to the IEntryResult
to create a single result representing an index entry that
was split across multiple index records.
|
public static final String PROTOCOL
public static final String URI_REFERENCE_DELIMITER
public static final int INDEX_RECORD_BLOCK_SIZE
public static final int NONVERSIONED_RECORD_INDEX_VERSION
public static final int DELIMITER_INDEX_VERSION
public static final int TABLE_MATERIALIZATION_INDEX_VERSION
public static final int COLUMN_NATIVE_TYPE_INDEX_VERSION
public static final int COLUMN_INPUT_PARAMETER_FLAG_INDEX_VERSION
public static final int ANNOTATION_TAGS_INDEX_VERSION
public static final int TRANSFORMATION_UUID_INDEX_VERSION
public static final int COLUMN_NULL_DISTINCT_INDEX_VERSION
public static final int PRIMITIVE_TYPE_ID_INDEX_VERSION
public static final int PROCEDURE_UPDATE_COUNT_VERSION
public static final int NONZERO_UNKNOWN_CARDINALITY
public static final int CURRENT_INDEX_VERSION
protected String parentId
public List<AbstractMetadataRecord> getMetadataRecord(IEntryResult[] queryResult)
AbstractMetadataRecord
instances for the result obtained from executing queryEntriesMatching
queryResult
- protected AbstractMetadataRecord getMetadataRecord(char[] record)
AbstractMetadataRecord
instances for specified IEntryResult.record
- public static IEntryResult joinEntryResults(IEntryResult result, IEntryResult[] continuationResults, int blockSize)
result
- continuationResults
- blockSize
- public static int getContinuationSegmentNumber(String objectID, IEntryResult continuationResult)
public static String extractUUIDString(IEntryResult result)
result
- public Schema createModelRecord(char[] record)
public TransformationRecordImpl createTransformationRecord(char[] record)
protected static short getKeyTypeForRecordType(char recordType)
public Table createTableRecord(char[] record)
public Column createColumnRecord(char[] record)
public ColumnSet createColumnSetRecord(char[] record, ColumnSet columnSet)
public ForeignKey createForeignKeyRecord(char[] record)
public Datatype createDatatypeRecord(char[] record)
public Procedure createProcedureRecord(char[] record)
public ProcedureParameter createProcedureParameterRecord(char[] record)
public boolean getBooleanValue(char b)
public char getListDelimiter(int indexVersionNumber)
public boolean includeMaterializationFlag(int indexVersionNumber)
public boolean includeMaterializedTables(int indexVersionNumber)
public boolean includeColumnNativeType(int indexVersionNumber)
public boolean includeColumnNullDistinctValues(int indexVersionNumber)
public boolean includePrimitiveTypeIdValue(int indexVersionNumber)
public boolean includeInputParameterFlag(int indexVersionNumber)
public boolean includeAnnotationProperties(int indexVersionNumber)
public boolean includeTransformationUUID(int indexVersionNumber)
Copyright © 2020. All rights reserved.