Class DefaultPathFactory

java.lang.Object
com.querydsl.core.alias.DefaultPathFactory
All Implemented Interfaces:
PathFactory

public class DefaultPathFactory extends Object implements PathFactory
DefaultPathFactory is the default implementation of the PathFactory interface
Author:
tiwe
  • Constructor Details

    • DefaultPathFactory

      public DefaultPathFactory()
  • Method Details

    • createArrayPath

      public <T> Path<T[]> createArrayPath(Class<T[]> arrayType, PathMetadata metadata)
      Description copied from interface: PathFactory
      Create an array path
      Specified by:
      createArrayPath in interface PathFactory
      Parameters:
      arrayType - type of the path
      metadata - metadata of the path
      Returns:
      new path instance
    • createBooleanPath

      public Path<Boolean> createBooleanPath(PathMetadata metadata)
      Description copied from interface: PathFactory
      Create a boolean path
      Specified by:
      createBooleanPath in interface PathFactory
      Parameters:
      metadata - metadata of the path
      Returns:
      new path instance
    • createCollectionPath

      public <E> Path<Collection<E>> createCollectionPath(Class<E> elementType, PathMetadata metadata)
      Description copied from interface: PathFactory
      Create a collection path
      Specified by:
      createCollectionPath in interface PathFactory
      Parameters:
      elementType - element type
      metadata - metadata of the path
      Returns:
      new path instance
    • createComparablePath

      public <T extends Comparable<?>> Path<T> createComparablePath(Class<T> type, PathMetadata metadata)
      Description copied from interface: PathFactory
      Create a comparable path
      Specified by:
      createComparablePath in interface PathFactory
      Parameters:
      type - type of the path
      metadata - metadata of the path
      Returns:
      new path instance
    • createDatePath

      public <T extends Comparable<?>> Path<T> createDatePath(Class<T> type, PathMetadata metadata)
      Description copied from interface: PathFactory
      Create a date path
      Specified by:
      createDatePath in interface PathFactory
      Parameters:
      type - type of the path
      metadata - metadata of the path
      Returns:
      new path instance
    • createDateTimePath

      public <T extends Comparable<?>> Path<T> createDateTimePath(Class<T> type, PathMetadata metadata)
      Description copied from interface: PathFactory
      Create a datetime path
      Specified by:
      createDateTimePath in interface PathFactory
      Parameters:
      type - type of the path
      metadata - metadata of the path
      Returns:
      new path instance
    • createEntityPath

      public <T> Path<T> createEntityPath(Class<T> type, PathMetadata metadata)
      Description copied from interface: PathFactory
      Create an entity path
      Specified by:
      createEntityPath in interface PathFactory
      Parameters:
      type - type of the path
      metadata - metadata of the path
      Returns:
      new path instance
    • createEnumPath

      public <T extends Enum<T>> Path<T> createEnumPath(Class<T> type, PathMetadata metadata)
      Description copied from interface: PathFactory
      Create an enum path
      Specified by:
      createEnumPath in interface PathFactory
      Parameters:
      type - type of the path
      metadata - metadata of the path
      Returns:
      new path instance
    • createListPath

      public <E> Path<List<E>> createListPath(Class<E> elementType, PathMetadata metadata)
      Description copied from interface: PathFactory
      Create a list path
      Specified by:
      createListPath in interface PathFactory
      Parameters:
      elementType - element type
      metadata - 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: PathFactory
      Create a map path
      Specified by:
      createMapPath in interface PathFactory
      Parameters:
      keyType - key type
      valueType - value type
      metadata - 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: PathFactory
      Create a number path
      Specified by:
      createNumberPath in interface PathFactory
      Parameters:
      type - type of the path
      metadata - metadata of the path
      Returns:
      new path instance
    • createSetPath

      public <E> Path<Set<E>> createSetPath(Class<E> elementType, PathMetadata metadata)
      Description copied from interface: PathFactory
      Create a set path
      Specified by:
      createSetPath in interface PathFactory
      Parameters:
      elementType - element type
      metadata - metadata of the path
      Returns:
      new path instance
    • createSimplePath

      public <T> Path<T> createSimplePath(Class<T> type, PathMetadata metadata)
      Description copied from interface: PathFactory
      Create a simple path
      Specified by:
      createSimplePath in interface PathFactory
      Parameters:
      type - type of the path
      metadata - metadata of the path
      Returns:
      new path instance
    • createStringPath

      public Path<String> createStringPath(PathMetadata metadata)
      Description copied from interface: PathFactory
      Create a string path
      Specified by:
      createStringPath in interface PathFactory
      Parameters:
      metadata - metadata of the path
      Returns:
      new path instance
    • createTimePath

      public <T extends Comparable<?>> Path<T> createTimePath(Class<T> type, PathMetadata metadata)
      Description copied from interface: PathFactory
      Create a time path
      Specified by:
      createTimePath in interface PathFactory
      Parameters:
      type - type of the path
      metadata - metadata of the path
      Returns:
      new path instance