public enum RecordType extends Enum<RecordType>
Enum Constant and Description |
---|
BLOB_ID
A reference to an external binary object.
|
BLOCK
A block of bytes (a binary value, or a part of a binary value, or part of
large strings).
|
BRANCH
A branch of a map (which is a HAMT tree).
|
BUCKET
A bucket (a list of references).
|
LEAF
A leaf of a map (which is a HAMT tree).
|
LIST
A list including the size (an int).
|
NODE
A JCR node, which contains a list of record ids:
the record id of the template
depending on the template, the record id of the map of the ids of the
child node name(s) and child node record id(s), or if there is just one
child node, the child node record id
the record ids of the property values (for multi-valued property a
pointer to the list record)
|
TEMPLATE
A template (the "hidden class" of a node; inspired by the Chrome V8
Javascript engine).
|
VALUE
A value (for example a string, or a long, or a blob).
|
Modifier and Type | Method and Description |
---|---|
static RecordType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordType LEAF
public static final RecordType BRANCH
public static final RecordType BUCKET
public static final RecordType LIST
public static final RecordType VALUE
Therefore, a value can reference other records.
public static final RecordType BLOCK
public static final RecordType TEMPLATE
public static final RecordType NODE
public static final RecordType BLOB_ID
public static RecordType[] values()
for (RecordType c : RecordType.values()) System.out.println(c);
public static RecordType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012-2019 The Apache Software Foundation. All Rights Reserved.