org.apache.ignite.cache.query

## Interface FieldsQueryCursor<T>

- All Superinterfaces:
    AutoCloseable, Iterable<T>, QueryCursor<T>
  All Known Implementing Classes:
    BulkLoadContextCursor

      public interface FieldsQueryCursor<T>
      extends QueryCursor<T>

  SQL query result cursor. This extends `QueryCursor` to expose fields metadata to public API for SqlFieldsQueries.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getColumnsCount()` Gets number of columns in a row.
    `String` | `getFieldName(int idx)` Gets field name.

    - ### Methods inherited from interface org.apache.ignite.cache.query.QueryCursor

      `close, getAll`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, iterator, spliterator`

- - ### Method Detail

    - #### getFieldName

          String getFieldName(int idx)

      Gets field name.
      Parameters:
        `idx` - field index.
      Returns:
        Field name.

    - #### getColumnsCount

          int getColumnsCount()

      Gets number of columns in a row.
      Returns:
        row size.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.11.0
Release Date | : September 11 2021