Schnittstelle IDataReader

Alle Superschnittstellen:
AutoCloseable, Closeable, CloseStateRequestable, GroupCloseable, IDatabaseNameHolder
Alle bekannten Unterschnittstellen:
IDataAdapter, IDataAdapterAndSchemaReader
Alle bekannten Implementierungsklassen:
AbstractDataAdapter, AbstractDataAdapterAndSchemaReader, AbstractSqlDataAdapter, DataReader, DataReader, MsSqlDataAdapter, MsSqlDataAdapterAndSchemaReader, NodeDataAdapter, NodeDataAdapterAndSchemaReader

public interface IDataReader extends GroupCloseable, IDatabaseNameHolder
Version:
2021-09-18
Autor:
Silvan Wyss
  • Methodendetails

    • getSchemaTimestamp

      ITime getSchemaTimestamp()
      Gibt zurück:
      the schema timestamp from the database.
      Löst aus:
      RuntimeException - if the current IDataReader is closed.
    • loadEntities

      IContainer<EntityLoadingDto> loadEntities(String tableName)
      Parameter:
      tableName -
      Gibt zurück:
      the entities, that are in the table with the given tableName, from the database.
      Löst aus:
      RuntimeException - if the current IDataReader is closed.
    • loadEntity

      EntityLoadingDto loadEntity(String tableName, String entityId)
      Parameter:
      tableName -
      entityId -
      Gibt zurück:
      the entity, that is in the table with the given tableName and has the given entityId, from the database.
      Löst aus:
      RuntimeException - if the current IDataReader is closed.
    • loadMultiBackReferenceBackReferencedEntityIds

      IContainer<String> loadMultiBackReferenceBackReferencedEntityIds(String tableName, String entityId, String multiBackReferenceColumnName)
      Parameter:
      tableName -
      entityId -
      multiBackReferenceColumnName -
      Gibt zurück:
      the entity ids of the multi back reference, that is in the multi back reference column with the given multiBackReferenceColumnName and belongs to the entity, that has the given entityId and is in the table with the given tableName, from the database.
      Löst aus:
      RuntimeException - if the current IDataReader is closed.
    • loadMultiReferenceEntries

      IContainer<MultiReferenceEntryDto> loadMultiReferenceEntries(String tableName, String entityId, String multiReferenceColumnName)
      Parameter:
      tableName -
      entityId -
      multiReferenceColumnName -
      Gibt zurück:
      the multi reference entries of the the multi reference field, that is in the multi reference column with the given multiReferenceColumnName and belongs to the entity, that has the given entityId and is in the table with the given tableName, from the database.
      Löst aus:
      RuntimeException - if the current IDataReader is closed.
    • loadMultiValueValues

      IContainer<Object> loadMultiValueValues(String tableName, String entityId, String multiValueColumnName)
      Parameter:
      tableName -
      entityId -
      multiValueColumnName -
      Gibt zurück:
      the values of the multi value, that is in the multi value column with the given multiValueColumnName and belongs to the entity, that has the given entityId and is in the table with the given tableName, from the database.
      Löst aus:
      RuntimeException - if the current IDataReader is closed.
    • tableContainsEntity

      boolean tableContainsEntity(String tableName, String entityId)
      Parameter:
      tableName -
      entityId -
      Gibt zurück:
      true if the table with the given tableName contains an entity with the given entityId on the database, false otherwise.
      Löst aus:
      RuntimeException - if the current IDataReader is closed.
    • tableContainsEntityWithValueAtColumn

      boolean tableContainsEntityWithValueAtColumn(String tableName, String columnName, String value)
      Parameter:
      tableName -
      columnName -
      value -
      Gibt zurück:
      true if the table with the given tableName contains in the column with the given columnName the given value on the database, false otherwise.
      Löst aus:
      RuntimeException - if the current IDataReader is closed.
    • tableContainsEntityWithValueAtColumnIgnoringEntities

      boolean tableContainsEntityWithValueAtColumnIgnoringEntities(String tableName, String columnName, String value, IContainer<String> entitiesToIgnoreIds)
      Parameter:
      tableName -
      columnName -
      value -
      entitiesToIgnoreIds -
      Gibt zurück:
      true if the table with the given tableName contains in the column with the given columnName the given value ignoring the entities with the given entitiesToIgnoreIds on the database, false otherwise.
      Löst aus:
      RuntimeException - if the current IDataReader is closed.