/** * Transitions to build a hash index with result selection. * * @param selectFieldPath the select field path * @param selectFieldType the select, and result, field type associated with the * resolved select field path * @param <S> the select type * @return a builder of a {@link HashIndexSelect} */ public <S extends HollowRecord> BuilderWithSelect<T, S> selectField( String selectFieldPath, Class<S> selectFieldType) { Objects.requireNonNull(selectFieldPath); Objects.requireNonNull(selectFieldType); return new BuilderWithSelect<>(consumer, rootType, selectFieldPath, selectFieldType); } }