Enum SegmentParser.BlobType
- java.lang.Object
-
- java.lang.Enum<SegmentParser.BlobType>
-
- org.apache.jackrabbit.oak.segment.SegmentParser.BlobType
-
- All Implemented Interfaces:
Serializable
,Comparable<SegmentParser.BlobType>
- Enclosing class:
- SegmentParser
public static enum SegmentParser.BlobType extends Enum<SegmentParser.BlobType>
Type of blobs (and strings)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTERNAL
External blob (i.e.LONG
Long: >=Segment.MEDIUM_LIMIT
MEDIUM
Medium: <Segment.MEDIUM_LIMIT
SMALL
Small: <Segment.SMALL_LIMIT
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SegmentParser.BlobType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SegmentParser.BlobType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMALL
public static final SegmentParser.BlobType SMALL
Small: <Segment.SMALL_LIMIT
.
-
MEDIUM
public static final SegmentParser.BlobType MEDIUM
Medium: <Segment.MEDIUM_LIMIT
-
LONG
public static final SegmentParser.BlobType LONG
Long: >=Segment.MEDIUM_LIMIT
-
EXTERNAL
public static final SegmentParser.BlobType EXTERNAL
External blob (i.e. inBlobStore
.
-
-
Method Detail
-
values
public static SegmentParser.BlobType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SegmentParser.BlobType c : SegmentParser.BlobType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SegmentParser.BlobType valueOf(String name)
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
-
-