Package | Description |
---|---|
org.modeshape.jcr.query |
The Query API provides a mechanism for building and executing queries.
|
org.modeshape.jcr.query.model |
The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.
|
org.modeshape.jcr.query.parse |
This package defines the
QueryParser interface, which defines a component that can parse a query represented
in a specific language and produce the corresponding abstract query model representation. |
org.modeshape.jcr.value |
Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for
representing and working with properties and their values.
|
org.modeshape.jcr.value.basic |
A set of basic implementations of the various interfaces defined in
org.modeshape.jcr.value . |
org.modeshape.jcr.value.binary |
Modifier and Type | Method and Description |
---|---|
Tuples.Tuple2<T1,T2> |
Tuples.Tuple2TypeFactory.create(Object value) |
Tuples.Tuple3<T1,T2,T3> |
Tuples.Tuple3TypeFactory.create(Object value) |
Tuples.Tuple4<T1,T2,T3,T4> |
Tuples.Tuple4TypeFactory.create(Object value) |
Tuples.TupleN |
Tuples.TupleNTypeFactory.create(Object value) |
Tuples.Tuple2<T1,T2> |
Tuples.Tuple2TypeFactory.create(String value) |
Tuples.Tuple3<T1,T2,T3> |
Tuples.Tuple3TypeFactory.create(String value) |
Tuples.Tuple4<T1,T2,T3,T4> |
Tuples.Tuple4TypeFactory.create(String value) |
Tuples.TupleN |
Tuples.TupleNTypeFactory.create(String value) |
Modifier and Type | Method and Description |
---|---|
T |
TypeSystem.TypeFactory.create(Object value)
Create the typed representation of the value given the supplied object representation.
|
T |
TypeSystem.TypeFactory.create(String value)
Create the typed representation of the value given the supplied string representation.
|
Modifier and Type | Method and Description |
---|---|
protected LiteralValue |
JcrSql2QueryParser.literal(TypeSystem typeSystem,
Object value) |
protected Literal |
BasicSqlQueryParser.literal(TypeSystem typeSystem,
Object value) |
Modifier and Type | Method and Description |
---|---|
T |
ValueFactory.create(BigDecimal value)
Create a value from a decimal.
|
T[] |
ValueFactory.create(BigDecimal[] values)
Create an array of values from an array of decimal values.
|
T |
ValueFactory.create(BinaryValue value)
Create a value from the binary content given by the supplied stream.
|
T[] |
ValueFactory.create(BinaryValue[] values)
Create an array of values from the array of binary objects.
|
T |
ValueFactory.create(boolean value)
Create a boolean from a string.
|
T[] |
ValueFactory.create(boolean[] values)
Create an array of values from an array of booleans.
|
T |
ValueFactory.create(byte[] value)
Create a value from the binary content given by the supplied array.
|
T[] |
ValueFactory.create(byte[][] values)
Create an array of values from the array of binary content.
|
T |
ValueFactory.create(Calendar value)
Create a value from a Calendar instance.
|
T[] |
ValueFactory.create(Calendar[] values)
Create an array of values from an array of Calendar instances.
|
T |
ValueFactory.create(Date value)
Create a value from a date.
|
T[] |
ValueFactory.create(Date[] values)
Create an array of values from an array of dates.
|
T |
ValueFactory.create(DateTime value)
Create a value from a date-time instant.
|
T[] |
ValueFactory.create(DateTime[] values)
Create an array of values from an array of
DateTime instants. |
T |
ValueFactory.create(double value)
Create a value from a double.
|
T[] |
ValueFactory.create(double[] values)
Create an array of values from an array of doubles.
|
T |
ValueFactory.create(float value)
Create a value from a float.
|
T[] |
ValueFactory.create(float[] values)
Create an array of values from an array of floats.
|
T |
ValueFactory.create(InputStream stream)
Create a value from the binary content given by the supplied stream.
|
T |
ValueFactory.create(InputStream stream,
String hint)
Create a value from the binary content given by the supplied stream with a hint to the BinaryStore for how to store it
|
T |
ValueFactory.create(int value)
Create a value from an integer.
|
T[] |
ValueFactory.create(int[] values)
Create an array of values from an array of integers.
|
Iterable<T> |
ValueFactory.create(Iterable<?> valueIterable)
Create an iterable with the values (of an unknown type).
|
Iterator<T> |
ValueFactory.create(Iterator<?> values)
Create an iterator over the values (of an unknown type).
|
T |
ValueFactory.create(long value)
Create a long from a string.
|
T[] |
ValueFactory.create(long[] values)
Create an array of values from an array of longs.
|
T |
ValueFactory.create(Name value)
Create a value from a name.
|
T[] |
ValueFactory.create(Name[] values)
Create an array of values from an array of names.
|
T |
ValueFactory.create(NodeKey value)
Create a value from a
NodeKey . |
T[] |
ValueFactory.create(NodeKey[] value)
Create an array of values from an array of
NodeKey . |
Reference[] |
ReferenceFactory.create(NodeKey[] value,
boolean foreign) |
Reference |
ReferenceFactory.create(NodeKey value,
boolean foreign) |
T |
ValueTypeSystem.Factory.create(Object value) |
NodeKey |
ValueTypeSystem.NodeKeyTypeFactory.create(Object value) |
T |
ValueFactory.create(Object value)
Create a value from the specified information by determining which other
create method applies and delegating
to that method. |
T[] |
ValueFactory.create(Object[] values)
Create an array of values from the specified information by determining which other
create method applies for
each object and then delegating to that method. |
T |
ValueFactory.create(Path.Segment value)
Create a value from a path segment.
|
T |
ValueFactory.create(Path value)
Create a value from a path.
|
T[] |
ValueFactory.create(Path[] values)
Create an array of values from an array of paths.
|
T |
ValueFactory.create(Reference value)
Create a value from a reference.
|
T[] |
ValueFactory.create(Reference[] values)
Create an array of values from an array of references.
|
T |
ValueTypeSystem.Factory.create(String value) |
NodeKey |
ValueTypeSystem.NodeKeyTypeFactory.create(String value) |
T |
ValueFactory.create(String value)
Create a value from a string, using no decoding.
|
T[] |
ValueFactory.create(String[] values)
Create an array of values from an array of string values, using no decoding.
|
T[] |
ValueFactory.create(String[] values,
TextDecoder decoder)
Create an array of values from an array of strings, using the supplied decoder.
|
T |
ValueFactory.create(String value,
TextDecoder decoder)
Create a value from a string, using the supplied decoder.
|
T |
ValueFactory.create(URI value)
Create a value from a URI.
|
T[] |
ValueFactory.create(URI[] values)
Create an array of values from an array of URIs.
|
T |
ValueFactory.create(UUID value)
Create a value from a UUID.
|
T[] |
ValueFactory.create(UUID[] values)
Create an array of values from an array of UUIDs.
|
<T> T[] |
Property.getValuesAsArray(Property.ValueTypeTransformer<T> valueTypeTransformer,
Class<T> type)
Convert the values of this property to the given type, using the specified type transformer.
|
<T> T[] |
Property.getValuesAsArray(ValueFactory<T> valueFactory)
Convert the values of this property to whatever type the given value factory is used to create.
|
Modifier and Type | Method and Description |
---|---|
URI |
UriValueFactory.create(BinaryValue value) |
String |
StringValueFactory.create(BinaryValue value) |
Reference |
ReferenceValueFactory.create(BinaryValue value) |
Path |
PathValueFactory.create(BinaryValue value) |
Object |
ObjectValueFactory.create(BinaryValue value) |
Name |
NameValueFactory.create(BinaryValue value) |
DateTime |
ModeShapeDateTimeValueFactory.create(BinaryValue value) |
Long |
LongValueFactory.create(BinaryValue value) |
Double |
DoubleValueFactory.create(BinaryValue value) |
BigDecimal |
DecimalValueFactory.create(BinaryValue value) |
Boolean |
BooleanValueFactory.create(BinaryValue value) |
T[] |
AbstractValueFactory.create(BinaryValue[] values) |
URI |
UriValueFactory.create(DateTime value) |
String |
StringValueFactory.create(DateTime value) |
Reference |
ReferenceValueFactory.create(DateTime value) |
Path |
PathValueFactory.create(DateTime value) |
Name |
NameValueFactory.create(DateTime value) |
DateTime |
ModeShapeDateTimeValueFactory.create(DateTime value) |
Long |
LongValueFactory.create(DateTime value) |
Double |
DoubleValueFactory.create(DateTime value) |
BigDecimal |
DecimalValueFactory.create(DateTime value) |
Boolean |
BooleanValueFactory.create(DateTime value) |
T[] |
AbstractValueFactory.create(DateTime[] values) |
T |
AbstractValueFactory.create(InputStream stream,
String hint) |
Iterable<T> |
AbstractValueFactory.create(Iterable<?> valueIterable) |
Iterator<T> |
AbstractValueFactory.create(Iterator<?> values) |
URI |
UriValueFactory.create(NodeKey value) |
String |
StringValueFactory.create(NodeKey value) |
Reference |
ReferenceValueFactory.create(NodeKey value) |
Path |
PathValueFactory.create(NodeKey value) |
Object |
ObjectValueFactory.create(NodeKey value) |
Name |
NameValueFactory.create(NodeKey value) |
DateTime |
ModeShapeDateTimeValueFactory.create(NodeKey value) |
Long |
LongValueFactory.create(NodeKey value) |
Double |
DoubleValueFactory.create(NodeKey value) |
BigDecimal |
DecimalValueFactory.create(NodeKey value) |
Boolean |
BooleanValueFactory.create(NodeKey value) |
T[] |
AbstractValueFactory.create(NodeKey[] values) |
Reference[] |
ReferenceValueFactory.create(NodeKey[] values,
boolean foreign) |
Reference |
ReferenceValueFactory.create(NodeKey value,
boolean foreign) |
<T> T[] |
BasicProperty.getValuesAsArray(Property.ValueTypeTransformer<T> valueTypeTransformer,
Class<T> type) |
<T> T[] |
BasicProperty.getValuesAsArray(ValueFactory<T> valueFactory) |
Modifier and Type | Method and Description |
---|---|
BinaryValue |
BinaryStoreValueFactory.create(BinaryValue value) |
BinaryValue |
BinaryStoreValueFactory.create(byte[] value) |
BinaryValue |
BinaryStoreValueFactory.create(DateTime value) |
BinaryValue |
BinaryStoreValueFactory.create(NodeKey value) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.