Enum NodeDocument.SplitDocType
java.lang.Object
java.lang.Enum<NodeDocument.SplitDocType>
org.apache.jackrabbit.oak.plugins.document.NodeDocument.SplitDocType
- All Implemented Interfaces:
Serializable
,Comparable<NodeDocument.SplitDocType>
- Enclosing class:
- NodeDocument
A document which is created from splitting a main document can be classified
into multiple types depending on the content i.e. weather it contains
REVISIONS, COMMIT_ROOT, property history etc
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA split document which does not contain REVISIONS history.A split document which contains all types of dataA split document which contains all types of data.A split document which contains all types of data, but no branch commits.Deprecated.Its an intermediate split document which only contains version ranges and does not contain any other attributesNot a split documentDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionint
typeCode()
static NodeDocument.SplitDocType
Returns the enum constant of this type with the specified name.static NodeDocument.SplitDocType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
Not a split document -
DEFAULT
A split document which contains all types of data -
DEFAULT_NO_CHILD
Deprecated.A split document which contains all types of data. In addition when the split document was created the main document did not had any child. This type is deprecated because these kind of documents cannot be garbage collected independently. The main document may still reference _commitRoot entries in the previous document. See OAK-1794 -
PROP_COMMIT_ONLY
Deprecated.A split document which does not contain REVISIONS history. This type is deprecated because these kind of documents cannot be garbage collected independently. The main document may still reference _commitRoot entries in the previous document. See OAK-1794 -
INTERMEDIATE
Its an intermediate split document which only contains version ranges and does not contain any other attributes -
DEFAULT_LEAF
A split document which contains all types of data. In addition when the split document was created the main document did not had any child. -
COMMIT_ROOT_ONLY
A split document which does not contain REVISIONS history. -
DEFAULT_NO_BRANCH
A split document which contains all types of data, but no branch commits.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
typeCode
public int typeCode()
-