## Uses of Interface
org.modeshape.jcr.query.model.TypeSystem.TypeFactory

- Packages that use TypeSystem.TypeFactory
  Package | Description
  --- | ---
  org.modeshape.jcr.query | The Query API provides a mechanism for building and executing queries.
  org.modeshape.jcr.query.engine | This package contains several fully-functional query engine implementations.
  org.modeshape.jcr.query.engine.process | When executing a query, the processing phase involves "running" each branch in the optimized query plan, determining the set of nodes that satisfies each branch, and then joining each branch into a single result.
  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.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.

- - ### Uses of TypeSystem.TypeFactory in org.modeshape.jcr.query

    Classes in org.modeshape.jcr.query that implement TypeSystem.TypeFactory
    Modifier and Type | Class and Description
    --- | ---
    `protected static class` | `Tuples.Tuple2TypeFactory<T1,T2>`
    `protected static class` | `Tuples.Tuple3TypeFactory<T1,T2,T3>`
    `protected static class` | `Tuples.Tuple4TypeFactory<T1,T2,T3,T4>`
    `protected static class` | `Tuples.TupleNTypeFactory`

    Fields in org.modeshape.jcr.query declared as TypeSystem.TypeFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected TypeSystem.TypeFactory<?>[]` | Tuples.TupleNTypeFactory.`types`

    Methods in org.modeshape.jcr.query that return TypeSystem.TypeFactory
    Modifier and Type | Method and Description
    --- | ---
    `TypeSystem.TypeFactory<?>` | RowExtractors.ExtractFromRow.`getType()` Get the type of value that this extrator will return from `RowExtractors.ExtractFromRow.getValueInRow(org.modeshape.jcr.query.NodeSequence.RowAccessor)`.
    `static TypeSystem.TypeFactory<?>` | Tuples.`typeFactory(Collection<TypeSystem.TypeFactory<?>> types)` Create a type factory for n-ary tuples.
    `static TypeSystem.TypeFactory<?>` | Tuples.`typeFactory(TypeSystem.TypeFactory<?> type, int tupleSize)` Create a type factory for uniform tuples.
    `static <T1,T2> TypeSystem.TypeFactory<Tuples.Tuple2<T1,T2>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2)` Create a type factory for tuples of size 2.
    `static <T1,T2,T3> TypeSystem.TypeFactory<Tuples.Tuple3<T1,T2,T3>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3)` Create a type factory for tuples of size 3.
    `static <T1,T2,T3,T4> TypeSystem.TypeFactory<Tuples.Tuple4<T1,T2,T3,T4>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3, TypeSystem.TypeFactory<T4> type4)` Create a type factory for tuples of size 4.

    Methods in org.modeshape.jcr.query with parameters of type TypeSystem.TypeFactory
    Modifier and Type | Method and Description
    --- | ---
    `org.mapdb.BTreeKeySerializer<?>` | BufferManager.`bTreeKeySerializerFor(TypeSystem.TypeFactory<?> type, boolean pack)` Obtain a serializer for the given key type.
    `static RowExtractors.ExtractFromRow` | RowExtractors.`convert(RowExtractors.ExtractFromRow extractor, TypeSystem.TypeFactory<?> newType)` Obtain a new `RowExtractors.ExtractFromRow` instance that uses the supplied row extractor but converts the value to the supplied type.
    `static void` | RowExtractors.`extractFullTextFrom(Object propertyValue, TypeSystem.TypeFactory<String> type, BinaryStore binaries, StringBuilder fullTextString)`
    `protected static void` | RowExtractors.`extractFullTextFrom(Property property, TypeSystem.TypeFactory<String> type, StringBuilder fullTextString, BinaryStore binaries, CachedNode node, NodeCache cache)`
    `static RowExtractors.ExtractFromRow` | RowExtractors.`extractPropertyValue(Name propertyName, int indexInRow, NodeCache cache, TypeSystem.TypeFactory<?> desiredType)` Create an extractor that extracts the property value from the node at the given position in the row.
    `org.mapdb.Serializer<?>` | BufferManager.`serializerFor(TypeSystem.TypeFactory<?> type)` Obtain a serializer for the given value type.
    `static TypeSystem.TypeFactory<?>` | Tuples.`typeFactory(TypeSystem.TypeFactory<?> type, int tupleSize)` Create a type factory for uniform tuples.
    `static <T1,T2> TypeSystem.TypeFactory<Tuples.Tuple2<T1,T2>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2)` Create a type factory for tuples of size 2.
    `static <T1,T2> TypeSystem.TypeFactory<Tuples.Tuple2<T1,T2>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2)` Create a type factory for tuples of size 2.
    `static <T1,T2,T3> TypeSystem.TypeFactory<Tuples.Tuple3<T1,T2,T3>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3)` Create a type factory for tuples of size 3.
    `static <T1,T2,T3> TypeSystem.TypeFactory<Tuples.Tuple3<T1,T2,T3>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3)` Create a type factory for tuples of size 3.
    `static <T1,T2,T3> TypeSystem.TypeFactory<Tuples.Tuple3<T1,T2,T3>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3)` Create a type factory for tuples of size 3.
    `static <T1,T2,T3,T4> TypeSystem.TypeFactory<Tuples.Tuple4<T1,T2,T3,T4>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3, TypeSystem.TypeFactory<T4> type4)` Create a type factory for tuples of size 4.
    `static <T1,T2,T3,T4> TypeSystem.TypeFactory<Tuples.Tuple4<T1,T2,T3,T4>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3, TypeSystem.TypeFactory<T4> type4)` Create a type factory for tuples of size 4.
    `static <T1,T2,T3,T4> TypeSystem.TypeFactory<Tuples.Tuple4<T1,T2,T3,T4>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3, TypeSystem.TypeFactory<T4> type4)` Create a type factory for tuples of size 4.
    `static <T1,T2,T3,T4> TypeSystem.TypeFactory<Tuples.Tuple4<T1,T2,T3,T4>>` | Tuples.`typeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3, TypeSystem.TypeFactory<T4> type4)` Create a type factory for tuples of size 4.

    Method parameters in org.modeshape.jcr.query with type arguments of type TypeSystem.TypeFactory
    Modifier and Type | Method and Description
    --- | ---
    `static TypeSystem.TypeFactory<?>` | Tuples.`typeFactory(Collection<TypeSystem.TypeFactory<?>> types)` Create a type factory for n-ary tuples.

    Constructors in org.modeshape.jcr.query with parameters of type TypeSystem.TypeFactory
    Constructor and Description
    `Tuples.Tuple2TypeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2)`
    `Tuples.Tuple2TypeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2)`
    `Tuples.Tuple3TypeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3)`
    `Tuples.Tuple3TypeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3)`
    `Tuples.Tuple3TypeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3)`
    `Tuples.Tuple4TypeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3, TypeSystem.TypeFactory<T4> type4)`
    `Tuples.Tuple4TypeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3, TypeSystem.TypeFactory<T4> type4)`
    `Tuples.Tuple4TypeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3, TypeSystem.TypeFactory<T4> type4)`
    `Tuples.Tuple4TypeFactory(TypeSystem.TypeFactory<T1> type1, TypeSystem.TypeFactory<T2> type2, TypeSystem.TypeFactory<T3> type3, TypeSystem.TypeFactory<T4> type4)`

    Constructor parameters in org.modeshape.jcr.query with type arguments of type TypeSystem.TypeFactory
    Constructor and Description
    `Tuples.TupleNTypeFactory(Collection<TypeSystem.TypeFactory<?>> typeFactories)`

  - ### Uses of TypeSystem.TypeFactory in org.modeshape.jcr.query.engine

    Methods in org.modeshape.jcr.query.engine that return TypeSystem.TypeFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected TypeSystem.TypeFactory<?>` | ScanningQueryEngine.`determineType(DynamicOperand operand, QueryContext context, QueryResults.Columns columns)`
    `TypeSystem.TypeFactory<?>` | ScanningQueryEngine.PropertyValueExtractor.`getType()`

    Methods in org.modeshape.jcr.query.engine with parameters of type TypeSystem.TypeFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected RowExtractors.ExtractFromRow` | ScanningQueryEngine.`createExtractFromRow(DynamicOperand operand, QueryContext context, QueryResults.Columns columns, QuerySources sources, TypeSystem.TypeFactory<?> defaultType, boolean allowMultiValued, boolean isLike)` Create a `RowExtractors.ExtractFromRow` implementation that performs the supplied `DynamicOperand` against a current row in the current batch.
    `protected RowExtractors.ExtractFromRow` | ScanningQueryEngine.`createExtractFromRow(String selectorName, String propertyName, QueryContext context, QueryResults.Columns columns, QuerySources sources, TypeSystem.TypeFactory<?> defaultType, boolean allowMultiValued)` Create a `RowExtractors.ExtractFromRow` implementation that accesses the value(s) in the property identified by the supplied selector and property names.
    `protected RowExtractors.ExtractFromRow` | ScanningQueryEngine.`createExtractReferencesFromRow(String selectorName, QueryContext context, QueryResults.Columns columns, QuerySources sources, TypeSystem.TypeFactory<?> defaultType)` Create a `RowExtractors.ExtractFromRow` implementation that accesses the REFERENCE value(s) in the properties of the node identified by the supplied selector names.
    `protected static Object` | ScanningQueryEngine.`literalValue(StaticOperand staticOperand, QueryContext context, TypeSystem.TypeFactory<?> type)` Get the literal value that is defined in the supplied `StaticOperand`.
    `protected static Set<?>` | ScanningQueryEngine.`literalValues(SetCriteria setCriteria, QueryContext context, TypeSystem.TypeFactory<?> type)`

    Constructors in org.modeshape.jcr.query.engine with parameters of type TypeSystem.TypeFactory
    Constructor and Description
    `ScanningQueryEngine.PropertyValueExtractor(String selectorName, String propertyName, TypeSystem.TypeFactory<?> typeFactory)`

  - ### Uses of TypeSystem.TypeFactory in org.modeshape.jcr.query.engine.process

    Constructors in org.modeshape.jcr.query.engine.process with parameters of type TypeSystem.TypeFactory
    Constructor and Description
    `DependentQuery(NodeSequence independentQuery, RowExtractors.ExtractFromRow independentQueryValueExtractor, TypeSystem.TypeFactory<?> expectedType, NodeSequence dependentQuery, String variableName, Map<String,Object> variables)`

  - ### Uses of TypeSystem.TypeFactory in org.modeshape.jcr.query.model

    Methods in org.modeshape.jcr.query.model that return TypeSystem.TypeFactory
    Modifier and Type | Method and Description
    --- | ---
    `abstract TypeSystem.TypeFactory<BinaryValue>` | TypeSystem.`getBinaryFactory()` Get the type factory for binary objects.
    `abstract TypeSystem.TypeFactory<Boolean>` | TypeSystem.`getBooleanFactory()` Get the type factory for boolean types.
    `abstract TypeSystem.TypeFactory<?>` | TypeSystem.`getCompatibleType(TypeSystem.TypeFactory<?> type1, TypeSystem.TypeFactory<?> type2)` Get the type that is compatible with both of the supplied types.
    `abstract TypeSystem.TypeFactory<?>` | TypeSystem.`getDateTimeFactory()` Get the type factory for date-time objects.
    `abstract TypeSystem.TypeFactory<BigDecimal>` | TypeSystem.`getDecimalFactory()` Get the type factory for decimal types.
    `abstract TypeSystem.TypeFactory<Double>` | TypeSystem.`getDoubleFactory()` Get the type factory for double types.
    `abstract TypeSystem.TypeFactory<Long>` | TypeSystem.`getLongFactory()` Get the type factory for long types.
    `abstract TypeSystem.TypeFactory<Name>` | TypeSystem.`getNameFactory()` Get the type factory for name objects.
    `abstract TypeSystem.TypeFactory<NodeKey>` | TypeSystem.`getNodeKeyFactory()` Get the type factory for node key objects.
    `abstract TypeSystem.TypeFactory<Path>` | TypeSystem.`getPathFactory()` Get the type factory for path objects.
    `abstract TypeSystem.TypeFactory<Reference>` | TypeSystem.`getReferenceFactory()` Get the type factory for references objects.
    `abstract TypeSystem.TypeFactory<String>` | TypeSystem.`getStringFactory()` Get the type factory for string types.
    `abstract TypeSystem.TypeFactory<?>` | TypeSystem.`getTypeFactory(Object prototype)` Get the type factory for the type denoted by the supplied prototype value.
    `abstract TypeSystem.TypeFactory<?>` | TypeSystem.`getTypeFactory(String typeName)` Get the type factory given the name of the type.
    `static <T> TypeSystem.TypeFactory<T>` | TypeSystem.`with(TypeSystem.TypeFactory<T> original, Order order, NullOrder nullOrder)` Return a new type factory that has a comparator that uses the supplied `Order` and `NullOrder` behavior.
    `static <T> TypeSystem.TypeFactory<T>` | TypeSystem.`withComparator(TypeSystem.TypeFactory<T> original, Comparator<T> comparator)` Return a new type factory that has a comparator that inverts the normal comparison.
    `static <T> TypeSystem.TypeFactory<T>` | TypeSystem.`withOppositeComparator(TypeSystem.TypeFactory<T> original)` Return a new type factory that has a comparator that inverts the normal comparison.

    Methods in org.modeshape.jcr.query.model with parameters of type TypeSystem.TypeFactory
    Modifier and Type | Method and Description
    --- | ---
    `abstract TypeSystem.TypeFactory<?>` | TypeSystem.`getCompatibleType(TypeSystem.TypeFactory<?> type1, TypeSystem.TypeFactory<?> type2)` Get the type that is compatible with both of the supplied types.
    `abstract TypeSystem.TypeFactory<?>` | TypeSystem.`getCompatibleType(TypeSystem.TypeFactory<?> type1, TypeSystem.TypeFactory<?> type2)` Get the type that is compatible with both of the supplied types.
    `static <T> TypeSystem.TypeFactory<T>` | TypeSystem.`with(TypeSystem.TypeFactory<T> original, Order order, NullOrder nullOrder)` Return a new type factory that has a comparator that uses the supplied `Order` and `NullOrder` behavior.
    `static <T> TypeSystem.TypeFactory<T>` | TypeSystem.`withComparator(TypeSystem.TypeFactory<T> original, Comparator<T> comparator)` Return a new type factory that has a comparator that inverts the normal comparison.
    `static <T> TypeSystem.TypeFactory<T>` | TypeSystem.`withOppositeComparator(TypeSystem.TypeFactory<T> original)` Return a new type factory that has a comparator that inverts the normal comparison.

  - ### Uses of TypeSystem.TypeFactory in org.modeshape.jcr.value

    Classes in org.modeshape.jcr.value that implement TypeSystem.TypeFactory
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `ValueTypeSystem.Factory<T>`
    `protected static class` | `ValueTypeSystem.NodeKeyTypeFactory`

    Methods in org.modeshape.jcr.value that return TypeSystem.TypeFactory
    Modifier and Type | Method and Description
    --- | ---
    `TypeSystem.TypeFactory<BinaryValue>` | ValueTypeSystem.`getBinaryFactory()`
    `TypeSystem.TypeFactory<Boolean>` | ValueTypeSystem.`getBooleanFactory()`
    `TypeSystem.TypeFactory<?>` | ValueTypeSystem.`getCompatibleType(TypeSystem.TypeFactory<?> type1, TypeSystem.TypeFactory<?> type2)`
    `TypeSystem.TypeFactory<?>` | ValueTypeSystem.`getDateTimeFactory()`
    `TypeSystem.TypeFactory<BigDecimal>` | ValueTypeSystem.`getDecimalFactory()`
    `TypeSystem.TypeFactory<Double>` | ValueTypeSystem.`getDoubleFactory()`
    `TypeSystem.TypeFactory<Long>` | ValueTypeSystem.`getLongFactory()`
    `TypeSystem.TypeFactory<Name>` | ValueTypeSystem.`getNameFactory()`
    `TypeSystem.TypeFactory<NodeKey>` | ValueTypeSystem.`getNodeKeyFactory()`
    `TypeSystem.TypeFactory<Path>` | ValueTypeSystem.`getPathFactory()`
    `TypeSystem.TypeFactory<Reference>` | ValueTypeSystem.`getReferenceFactory()`
    `TypeSystem.TypeFactory<String>` | ValueTypeSystem.`getStringFactory()`
    `TypeSystem.TypeFactory<?>` | ValueTypeSystem.`getTypeFactory(Object prototype)`
    `TypeSystem.TypeFactory<?>` | ValueTypeSystem.`getTypeFactory(String typeName)`

    Methods in org.modeshape.jcr.value with parameters of type TypeSystem.TypeFactory
    Modifier and Type | Method and Description
    --- | ---
    `TypeSystem.TypeFactory<?>` | ValueTypeSystem.`getCompatibleType(TypeSystem.TypeFactory<?> type1, TypeSystem.TypeFactory<?> type2)`
    `TypeSystem.TypeFactory<?>` | ValueTypeSystem.`getCompatibleType(TypeSystem.TypeFactory<?> type1, TypeSystem.TypeFactory<?> type2)`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.