public class DefaultPathFactory extends Object implements PathFactory
DefaultPathFactory
is the default implementation of the PathFactory
interfaceConstructor and Description |
---|
DefaultPathFactory() |
Modifier and Type | Method and Description |
---|---|
<T> Path<T[]> |
createArrayPath(Class<T[]> arrayType,
PathMetadata metadata)
Create an array path
|
Path<Boolean> |
createBooleanPath(PathMetadata metadata)
Create a boolean path
|
<E> Path<Collection<E>> |
createCollectionPath(Class<E> elementType,
PathMetadata metadata)
Create a collection path
|
<T extends Comparable<?>> |
createComparablePath(Class<T> type,
PathMetadata metadata)
Create a comparable path
|
<T extends Comparable<?>> |
createDatePath(Class<T> type,
PathMetadata metadata)
Create a date path
|
<T extends Comparable<?>> |
createDateTimePath(Class<T> type,
PathMetadata metadata)
Create a datetime path
|
<T> Path<T> |
createEntityPath(Class<T> type,
PathMetadata metadata)
Create an entity path
|
<T extends Enum<T>> |
createEnumPath(Class<T> type,
PathMetadata metadata)
Create an enum path
|
<E> Path<List<E>> |
createListPath(Class<E> elementType,
PathMetadata metadata)
Create a list path
|
<K,V> Path<Map<K,V>> |
createMapPath(Class<K> keyType,
Class<V> valueType,
PathMetadata metadata)
Create a map path
|
<T extends Number & Comparable<T>> |
createNumberPath(Class<T> type,
PathMetadata metadata)
Create a number path
|
<E> Path<Set<E>> |
createSetPath(Class<E> elementType,
PathMetadata metadata)
Create a set path
|
<T> Path<T> |
createSimplePath(Class<T> type,
PathMetadata metadata)
Create a simple path
|
Path<String> |
createStringPath(PathMetadata metadata)
Create a string path
|
<T extends Comparable<?>> |
createTimePath(Class<T> type,
PathMetadata metadata)
Create a time path
|
public <T> Path<T[]> createArrayPath(Class<T[]> arrayType, PathMetadata metadata)
PathFactory
createArrayPath
in interface PathFactory
arrayType
- type of the pathmetadata
- metadata of the pathpublic Path<Boolean> createBooleanPath(PathMetadata metadata)
PathFactory
createBooleanPath
in interface PathFactory
metadata
- metadata of the pathpublic <E> Path<Collection<E>> createCollectionPath(Class<E> elementType, PathMetadata metadata)
PathFactory
createCollectionPath
in interface PathFactory
elementType
- element typemetadata
- metadata of the pathpublic <T extends Comparable<?>> Path<T> createComparablePath(Class<T> type, PathMetadata metadata)
PathFactory
createComparablePath
in interface PathFactory
type
- type of the pathmetadata
- metadata of the pathpublic <T extends Comparable<?>> Path<T> createDatePath(Class<T> type, PathMetadata metadata)
PathFactory
createDatePath
in interface PathFactory
type
- type of the pathmetadata
- metadata of the pathpublic <T extends Comparable<?>> Path<T> createDateTimePath(Class<T> type, PathMetadata metadata)
PathFactory
createDateTimePath
in interface PathFactory
type
- type of the pathmetadata
- metadata of the pathpublic <T> Path<T> createEntityPath(Class<T> type, PathMetadata metadata)
PathFactory
createEntityPath
in interface PathFactory
type
- type of the pathmetadata
- metadata of the pathpublic <T extends Enum<T>> Path<T> createEnumPath(Class<T> type, PathMetadata metadata)
PathFactory
createEnumPath
in interface PathFactory
type
- type of the pathmetadata
- metadata of the pathpublic <E> Path<List<E>> createListPath(Class<E> elementType, PathMetadata metadata)
PathFactory
createListPath
in interface PathFactory
elementType
- element typemetadata
- metadata of the pathpublic <K,V> Path<Map<K,V>> createMapPath(Class<K> keyType, Class<V> valueType, PathMetadata metadata)
PathFactory
createMapPath
in interface PathFactory
keyType
- key typevalueType
- value typemetadata
- metadata of the pathpublic <T extends Number & Comparable<T>> Path<T> createNumberPath(Class<T> type, PathMetadata metadata)
PathFactory
createNumberPath
in interface PathFactory
type
- type of the pathmetadata
- metadata of the pathpublic <E> Path<Set<E>> createSetPath(Class<E> elementType, PathMetadata metadata)
PathFactory
createSetPath
in interface PathFactory
elementType
- element typemetadata
- metadata of the pathpublic <T> Path<T> createSimplePath(Class<T> type, PathMetadata metadata)
PathFactory
createSimplePath
in interface PathFactory
type
- type of the pathmetadata
- metadata of the pathpublic Path<String> createStringPath(PathMetadata metadata)
PathFactory
createStringPath
in interface PathFactory
metadata
- metadata of the pathpublic <T extends Comparable<?>> Path<T> createTimePath(Class<T> type, PathMetadata metadata)
PathFactory
createTimePath
in interface PathFactory
type
- type of the pathmetadata
- metadata of the pathCopyright © 2007–2016 Querydsl. All rights reserved.