hollow/src/main/java/com/netflix/hollow/core/index/FieldPaths.java
public static FieldPath<FieldSegment> createFieldPathForPrefixIndex(
            HollowDataset dataset, String type, String path, boolean autoExpand) {
        // If autoExpand is false then requireFullPath must be true
        boolean requireFullPath = !autoExpand;
        return createFieldPath(dataset, type, path, autoExpand, requireFullPath, true);
    }
public static FieldPath<FieldSegment> createFieldPathForPrefixIndex(
            HollowDataset dataset, String type, String path, boolean autoExpand) {
        // If autoExpand is false then requireFullPath must be true
        boolean requireFullPath = !autoExpand;
        return createFieldPath(dataset, type, path, autoExpand, requireFullPath, true);
    }
Creates a field path given a data set and the field path in symbolic form conforming to paths
associated with a prefix index.

@param dataset the data set
@param type the type name from which to bind the field path
@param path the symbolic field path
@param autoExpand {@code true} if the field path should be expanded (if needed) to a full path referencing
an object field whose type is a non-reference type, otherwise the field path is not expanded and must be
a full path
@return the field path
@throws IllegalArgumentException if the symbolic field path is ill-formed and cannot be bound