Interface DataSourceIdsQuery

All Known Subinterfaces:
InternalDataSourceIdsQuery
All Known Implementing Classes:
DataSourceIdsQueryImpl

public interface DataSourceIdsQuery
Represents a query by IDs executed against a SpaceDataSource implementation.
Since:
9.5
Author:
Dan Kilman
  • Method Details

    • getTypeDescriptor

      SpaceTypeDescriptor getTypeDescriptor()
      Returns:
      The SpaceTypeDescriptor representing the type this query is for.
    • getIds

      Object[] getIds()
      Returns:
      The IDs of the entries to get.
    • supportsAsSQLQuery

      boolean supportsAsSQLQuery()
      Returns:
      Whether this query has an SQL query representation.
    • getAsSQLQuery

      DataSourceSQLQuery getAsSQLQuery()
      Gets the prepared SQL representation of this ids query.
      DataSourceQuery.supportsAsSQLQuery() return value should be checked before calling this method otherwise an UnsupportedOperationException will be thrown if the operation is not supported.
      Returns:
      Prepared SQL representation this query.