Uses of Class
org.apache.jackrabbit.oak.api.Type
-
Packages that use Type Package Description org.apache.jackrabbit.oak.api Oak repository APIorg.apache.jackrabbit.oak.json org.apache.jackrabbit.oak.plugins.memory org.apache.jackrabbit.oak.plugins.tree.impl org.apache.jackrabbit.oak.plugins.value org.apache.jackrabbit.oak.segment org.apache.jackrabbit.oak.spi.query This package contains oak query index related classes.org.apache.jackrabbit.oak.spi.security.authorization.restriction org.apache.jackrabbit.oak.spi.state -
-
Uses of Type in org.apache.jackrabbit.oak.api
Fields in org.apache.jackrabbit.oak.api declared as Type Modifier and Type Field Description static Type<java.lang.Iterable<Blob>>
Type. BINARIES
MapIterable<Blob>
to array ofPropertyType.BINARY
static Type<Blob>
Type. BINARY
MapBlob
toPropertyType.BINARY
static Type<java.lang.Boolean>
Type. BOOLEAN
MapBoolean
toPropertyType.BOOLEAN
static Type<java.lang.Iterable<java.lang.Boolean>>
Type. BOOLEANS
MapIterable<Boolean>
to array ofPropertyType.BOOLEAN
static Type<java.lang.String>
Type. DATE
MapString
toPropertyType.DATE
static Type<java.lang.Iterable<java.lang.String>>
Type. DATES
MapIterable<String>
to array ofPropertyType.DATE
static Type<java.math.BigDecimal>
Type. DECIMAL
MapBigDecimal
toPropertyType.DECIMAL
static Type<java.lang.Iterable<java.math.BigDecimal>>
Type. DECIMALS
MapIterable<BigDecimal>
to array ofPropertyType.DECIMAL
static Type<java.lang.Double>
Type. DOUBLE
MapDouble
toPropertyType.DOUBLE
static Type<java.lang.Iterable<java.lang.Double>>
Type. DOUBLES
MapIterable<Double>
to array ofPropertyType.DOUBLE
static Type<java.lang.Long>
Type. LONG
MapLong
toPropertyType.LONG
static Type<java.lang.Iterable<java.lang.Long>>
Type. LONGS
MapIterable<Long>
to array ofPropertyType.LONG
static Type<java.lang.String>
Type. NAME
MapString
toPropertyType.STRING
static Type<java.lang.Iterable<java.lang.String>>
Type. NAMES
MapIterable<String>
to array ofPropertyType.NAME
static Type<java.lang.String>
Type. PATH
MapString
toPropertyType.PATH
static Type<java.lang.Iterable<java.lang.String>>
Type. PATHS
MapIterable<String>
to array ofPropertyType.PATH
static Type<java.lang.String>
Type. REFERENCE
MapString
toPropertyType.REFERENCE
static Type<java.lang.Iterable<java.lang.String>>
Type. REFERENCES
MapIterable<String>
to array ofPropertyType.REFERENCE
static Type<java.lang.String>
Type. STRING
MapString
toPropertyType.STRING
static Type<java.lang.Iterable<java.lang.String>>
Type. STRINGS
MapIterable<String>
to array ofPropertyType.STRING
static Type<java.lang.Void>
Type. UNDEFINED
The special "undefined" type, never encountered in normal valuesstatic Type<java.lang.Iterable<java.lang.Void>>
Type. UNDEFINEDS
Multi-valued "undefined" type, never encountered in normal valuesstatic Type<java.lang.String>
Type. URI
MapString
toPropertyType.URI
static Type<java.lang.Iterable<java.lang.String>>
Type. URIS
MapIterable<String>
to array ofPropertyType.URI
static Type<java.lang.String>
Type. WEAKREFERENCE
MapString
toPropertyType.WEAKREFERENCE
static Type<java.lang.Iterable<java.lang.String>>
Type. WEAKREFERENCES
MapIterable<String>
to array ofPropertyType.WEAKREFERENCE
Methods in org.apache.jackrabbit.oak.api that return Type Modifier and Type Method Description static Type<?>
Type. fromString(java.lang.String string)
Returns theType
with the given string representation.static Type<?>
Type. fromTag(int tag, boolean array)
CorrespondingType
for a given type tag and array flag.Type<?>
Type. getArrayType()
Determine the array type which has this type as base typeType<?>
Type. getBaseType()
Determine the base type of array typesType<?>
PropertyState. getType()
Determine the type of this propertyType<?>
PropertyValue. getType()
Determine the type of this valueMethods in org.apache.jackrabbit.oak.api with parameters of type Type Modifier and Type Method Description int
Type. compareTo(@NotNull Type<?> that)
<T> T
PropertyState. getValue(Type<T> type)
Value of this property.<T> T
PropertyState. getValue(Type<T> type, int index)
Value at the givenindex
.<T> T
PropertyValue. getValue(Type<T> type)
Value of this object.<T> T
PropertyValue. getValue(Type<T> type, int index)
Value at the givenindex
.<T> void
Tree. setProperty(@NotNull java.lang.String name, T value, @NotNull Type<T> type)
Set a property state -
Uses of Type in org.apache.jackrabbit.oak.json
Methods in org.apache.jackrabbit.oak.json with parameters of type Type Modifier and Type Method Description void
JsonSerializer. serialize(PropertyState property, Type<?> type, int index)
-
Uses of Type in org.apache.jackrabbit.oak.plugins.memory
Methods in org.apache.jackrabbit.oak.plugins.memory that return Type Modifier and Type Method Description Type<?>
BinaryPropertyState. getType()
Type<?>
BooleanPropertyState. getType()
Type<?>
DecimalPropertyState. getType()
Type<?>
DoublePropertyState. getType()
Type<?>
GenericPropertyState. getType()
Type<?>
LongPropertyState. getType()
Type<?>
MultiBinaryPropertyState. getType()
Type<?>
MultiBooleanPropertyState. getType()
Type<?>
MultiDecimalPropertyState. getType()
Type<?>
MultiDoublePropertyState. getType()
Type<?>
MultiGenericPropertyState. getType()
Type<?>
MultiLongPropertyState. getType()
Type<?>
MultiStringPropertyState. getType()
@NotNull Type<?>
PropertyStateValue. getType()
Type<?>
StringPropertyState. getType()
Methods in org.apache.jackrabbit.oak.plugins.memory with parameters of type Type Modifier and Type Method Description static <T> PropertyBuilder<T>
PropertyBuilder. array(Type<T> type)
Create a new instance for building arrayPropertyState
instances of the giventype
.static <T> PropertyBuilder<T>
PropertyBuilder. array(Type<T> type, java.lang.String name)
Create a new instance for building arrayPropertyState
instances of the giventype
.static PropertyState
PropertyStates. convert(PropertyState state, Type<?> type)
static <T> PropertyBuilder<T>
PropertyBuilder. copy(Type<T> type, PropertyState property)
Create a new instance for buildingPropertyState
instances of the giventype
.static @NotNull PropertyState
PropertyStates. createProperty(java.lang.String name, java.lang.Object value, Type<?> type)
Create aPropertyState
.static PropertyState
EmptyPropertyState. emptyProperty(java.lang.String name, Type<?> type)
Create an emptyPropertyState
<T> T
EmptyPropertyState. getValue(Type<T> type)
<T> T
EmptyPropertyState. getValue(Type<T> type, int index)
<T> T
PropertyStateValue. getValue(Type<T> type)
<T> T
PropertyStateValue. getValue(Type<T> type, int index)
static <T> PropertyBuilder<T>
PropertyBuilder. scalar(Type<T> type)
Create a new instance for building scalarPropertyState
instances of the giventype
.static <T> PropertyBuilder<T>
PropertyBuilder. scalar(Type<T> type, java.lang.String name)
Create a new instance for building scalarPropertyState
instances of the giventype
.<T> @NotNull NodeBuilder
MemoryNodeBuilder. setProperty(java.lang.String name, T value, Type<T> type)
Constructors in org.apache.jackrabbit.oak.plugins.memory with parameters of type Type Constructor Description GenericPropertyState(@NotNull java.lang.String name, @NotNull java.lang.String value, @NotNull Type<?> type)
MultiGenericPropertyState(java.lang.String name, java.lang.Iterable<java.lang.String> values, Type<?> type)
PropertyBuilder(Type<T> type)
Create a new instance for buildingPropertyState
instances of the giventype
. -
Uses of Type in org.apache.jackrabbit.oak.plugins.tree.impl
Methods in org.apache.jackrabbit.oak.plugins.tree.impl with parameters of type Type Modifier and Type Method Description <T> void
AbstractMutableTree. setProperty(@NotNull java.lang.String name, T value, @NotNull Type<T> type)
<T> void
ImmutableTree. setProperty(@NotNull java.lang.String name, T value, @NotNull Type<T> type)
-
Uses of Type in org.apache.jackrabbit.oak.plugins.value
Methods in org.apache.jackrabbit.oak.plugins.value with parameters of type Type Modifier and Type Method Description static Conversions.Converter
Conversions. convert(java.lang.String value, Type<?> type)
Create a converter for a date. -
Uses of Type in org.apache.jackrabbit.oak.segment
Fields in org.apache.jackrabbit.oak.segment declared as Type Modifier and Type Field Description Type<?>
SegmentParser.ValueInfo. type
Type of this valueMethods in org.apache.jackrabbit.oak.segment that return Type Modifier and Type Method Description Type<?>
PropertyTemplate. getType()
@NotNull Type<?>
SegmentPropertyState. getType()
Methods in org.apache.jackrabbit.oak.segment with parameters of type Type Modifier and Type Method Description <T> T
SegmentPropertyState. getValue(Type<T> type)
<T> T
SegmentPropertyState. getValue(Type<T> type, int index)
protected void
SegmentParser. onValue(RecordId parentId, RecordId valueId, Type<?> type)
Callback called bySegmentParser.parseProperty(RecordId, RecordId, PropertyTemplate)
upon encountering a value.SegmentParser.ValueInfo
SegmentParser. parseValue(RecordId parentId, RecordId valueId, Type<?> type)
Parse a value recordConstructors in org.apache.jackrabbit.oak.segment with parameters of type Type Constructor Description ValueInfo(RecordId valueId, Type<?> type)
-
Uses of Type in org.apache.jackrabbit.oak.spi.query
Methods in org.apache.jackrabbit.oak.spi.query that return Type Modifier and Type Method Description Type<?>
QueryIndex.OrderEntry. getPropertyType()
Constructors in org.apache.jackrabbit.oak.spi.query with parameters of type Type Constructor Description OrderEntry(java.lang.String propertyName, Type<?> propertyType, QueryIndex.OrderEntry.Order order)
-
Uses of Type in org.apache.jackrabbit.oak.spi.security.authorization.restriction
Methods in org.apache.jackrabbit.oak.spi.security.authorization.restriction that return Type Modifier and Type Method Description @NotNull Type<?>
RestrictionDefinition. getRequiredType()
The required type as defined by this definition.@NotNull Type<?>
RestrictionDefinitionImpl. getRequiredType()
Constructors in org.apache.jackrabbit.oak.spi.security.authorization.restriction with parameters of type Type Constructor Description RestrictionDefinitionImpl(@NotNull java.lang.String name, Type<?> type, boolean isMandatory)
Create a new instance. -
Uses of Type in org.apache.jackrabbit.oak.spi.state
Methods in org.apache.jackrabbit.oak.spi.state with parameters of type Type Modifier and Type Method Description <T> @NotNull NodeBuilder
NodeBuilder. setProperty(java.lang.String name, T value, Type<T> type)
Set a property state<T> @NotNull NodeBuilder
ReadOnlyBuilder. setProperty(java.lang.String name, T value, Type<T> type)
-