Interface EssDataSource

All Superinterfaces:
EssObject
All Known Implementing Classes:
EssDataSourceImpl

public interface EssDataSource extends EssObject
  • Field Details

  • Method Details

    • getName

      String getName()
      Gets the name of this data source.
      Specified by:
      getName in interface EssObject
      Returns:
      the data source name
    • getType

      EssObject.Type getType()
      Description copied from interface: EssObject
      Gets the type of this object.
      Specified by:
      getType in interface EssObject
      Returns:
      the object type
    • getColumns

      List<EssDataSourceColumn> getColumns()
      The columns this data source exposes, in the order the server lists them.

      Fetches the data source in full the first time it is asked, because the listing does not carry columns - GET /datasources answers name, type and connection and nothing more, while GET /datasources/{name} answers the whole thing.

      Returns:
      the columns, empty where the server reports none