Interface IListQueryBuilder.IBuilderForFields<R>

All Known Subinterfaces:
IGetByKeyQueryBuilder.IGetByKeyQueryBuilderWithTable<R>
All Known Implementing Classes:
AGetByKeyQueryCompiler, AListQueryCompiler, CompositeCompiledGetByKeyQueryBuilder, CompositeCompiledListQueryBuilder
Enclosing interface:
IListQueryBuilder

public static interface IListQueryBuilder.IBuilderForFields<R>
  • Method Details

    • withAliasedFields

      R withAliasedFields(List<AliasedField> fields)
      Selects a defined set of fields.
      Parameters:
      fields - the fields to select
      Returns:
      the builder
    • withAliasedFields

      default R withAliasedFields(AliasedField... fields)
      Selects a defined set of fields.
      Parameters:
      fields - the fields to select
      Returns:
      the builder
    • withTableFields

      default R withTableFields(List<String> fieldNames)
      Selects a defined set of fields from the base table.

      The names of the fields will be used as aliases in the result.

      Parameters:
      fieldNames - the names of the fields to select
      Returns:
      the builder
    • withTableFields

      default R withTableFields(String... fieldNames)
      Selects a defined set of fields from the base table.

      The names of the fields will be used as aliases in the result.

      Parameters:
      fieldNames - the names of the fields to select
      Returns:
      the builder
    • withFieldsWithoutAlias

      R withFieldsWithoutAlias(List<FieldPath> fields)
      Selects a list of fields given their field paths, generating random aliases for them.

      With this method, values will only be accessed using the positions of the fields. Aliases assigned to each selected field is generated randomly and users must not rely on the names returned by IRecordFormat.getFieldName(int) to access values.

      Returns:
      this builder
    • withFieldsWithoutAlias

      default R withFieldsWithoutAlias(FieldPath... fields)
      Selects a list of fields given their field paths, generating random aliases for them.

      With this method, values will only be accessed using the positions of the fields. Aliases assigned to each selected field is generated randomly and users must not rely on the names returned by IRecordFormat.getFieldName(int) to access values.

      Returns:
      this builder
    • selectingAllTableFields

      R selectingAllTableFields()
      Selects all fields from the base table.
      Returns:
      the builder