Package com.querydsl.core.alias
Class DefaultPathFactory
java.lang.Object
com.querydsl.core.alias.DefaultPathFactory
- All Implemented Interfaces:
PathFactory
DefaultPathFactory is the default implementation of the PathFactory interface- Author:
- tiwe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Path<T[]>createArrayPath(Class<T[]> arrayType, PathMetadata metadata) Create an array pathcreateBooleanPath(PathMetadata metadata) Create a boolean path<E> Path<Collection<E>>createCollectionPath(Class<E> elementType, PathMetadata metadata) Create a collection path<T extends Comparable<?>>
Path<T>createComparablePath(Class<T> type, PathMetadata metadata) Create a comparable path<T extends Comparable<?>>
Path<T>createDatePath(Class<T> type, PathMetadata metadata) Create a date path<T extends Comparable<?>>
Path<T>createDateTimePath(Class<T> type, PathMetadata metadata) Create a datetime path<T> Path<T>createEntityPath(Class<T> type, PathMetadata metadata) Create an entity pathcreateEnumPath(Class<T> type, PathMetadata metadata) Create an enum pathcreateListPath(Class<E> elementType, PathMetadata metadata) Create a list pathcreateMapPath(Class<K> keyType, Class<V> valueType, PathMetadata metadata) Create a map path<T extends Number & Comparable<T>>
Path<T>createNumberPath(Class<T> type, PathMetadata metadata) Create a number pathcreateSetPath(Class<E> elementType, PathMetadata metadata) Create a set path<T> Path<T>createSimplePath(Class<T> type, PathMetadata metadata) Create a simple pathcreateStringPath(PathMetadata metadata) Create a string path<T extends Comparable<?>>
Path<T>createTimePath(Class<T> type, PathMetadata metadata) Create a time path
-
Constructor Details
-
DefaultPathFactory
public DefaultPathFactory()
-
-
Method Details
-
createArrayPath
Description copied from interface:PathFactoryCreate an array path- Specified by:
createArrayPathin interfacePathFactory- Parameters:
arrayType- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createBooleanPath
Description copied from interface:PathFactoryCreate a boolean path- Specified by:
createBooleanPathin interfacePathFactory- Parameters:
metadata- metadata of the path- Returns:
- new path instance
-
createCollectionPath
Description copied from interface:PathFactoryCreate a collection path- Specified by:
createCollectionPathin interfacePathFactory- Parameters:
elementType- element typemetadata- metadata of the path- Returns:
- new path instance
-
createComparablePath
Description copied from interface:PathFactoryCreate a comparable path- Specified by:
createComparablePathin interfacePathFactory- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createDatePath
Description copied from interface:PathFactoryCreate a date path- Specified by:
createDatePathin interfacePathFactory- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createDateTimePath
Description copied from interface:PathFactoryCreate a datetime path- Specified by:
createDateTimePathin interfacePathFactory- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createEntityPath
Description copied from interface:PathFactoryCreate an entity path- Specified by:
createEntityPathin interfacePathFactory- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createEnumPath
Description copied from interface:PathFactoryCreate an enum path- Specified by:
createEnumPathin interfacePathFactory- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createListPath
Description copied from interface:PathFactoryCreate a list path- Specified by:
createListPathin interfacePathFactory- Parameters:
elementType- element typemetadata- metadata of the path- Returns:
- new path instance
-
createMapPath
public <K,V> Path<Map<K,V>> createMapPath(Class<K> keyType, Class<V> valueType, PathMetadata metadata) Description copied from interface:PathFactoryCreate a map path- Specified by:
createMapPathin interfacePathFactory- Parameters:
keyType- key typevalueType- value typemetadata- metadata of the path- Returns:
- new path instance
-
createNumberPath
public <T extends Number & Comparable<T>> Path<T> createNumberPath(Class<T> type, PathMetadata metadata) Description copied from interface:PathFactoryCreate a number path- Specified by:
createNumberPathin interfacePathFactory- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createSetPath
Description copied from interface:PathFactoryCreate a set path- Specified by:
createSetPathin interfacePathFactory- Parameters:
elementType- element typemetadata- metadata of the path- Returns:
- new path instance
-
createSimplePath
Description copied from interface:PathFactoryCreate a simple path- Specified by:
createSimplePathin interfacePathFactory- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createStringPath
Description copied from interface:PathFactoryCreate a string path- Specified by:
createStringPathin interfacePathFactory- Parameters:
metadata- metadata of the path- Returns:
- new path instance
-
createTimePath
Description copied from interface:PathFactoryCreate a time path- Specified by:
createTimePathin interfacePathFactory- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-