Package com.querydsl.core.alias
Interface PathFactory
- All Known Implementing Classes:
DefaultPathFactory
public interface PathFactory
PathFactory defines a factory interface for Path creation- Author:
- tiwe
-
Method Summary
Modifier and TypeMethodDescription<T> Path<T[]>createArrayPath(Class<T[]> type, 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
-
Method Details
-
createArrayPath
Create an array path- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createEntityPath
Create an entity path- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createSimplePath
Create a simple path- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createComparablePath
Create a comparable path- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createEnumPath
Create an enum path- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createDatePath
Create a date path- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createTimePath
Create a time path- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createDateTimePath
Create a datetime path- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createNumberPath
Create a number path- Parameters:
type- type of the pathmetadata- metadata of the path- Returns:
- new path instance
-
createBooleanPath
Create a boolean path- Parameters:
metadata- metadata of the path- Returns:
- new path instance
-
createStringPath
Create a string path- Parameters:
metadata- metadata of the path- Returns:
- new path instance
-
createListPath
Create a list path- Parameters:
elementType- element typemetadata- metadata of the path- Returns:
- new path instance
-
createSetPath
Create a set path- Parameters:
elementType- element typemetadata- metadata of the path- Returns:
- new path instance
-
createCollectionPath
Create a collection path- Parameters:
elementType- element typemetadata- metadata of the path- Returns:
- new path instance
-
createMapPath
Create a map path- Parameters:
keyType- key typevalueType- value typemetadata- metadata of the path- Returns:
- new path instance
-