001package org.hl7.fhir.r5.utils.sql;
002
003import java.util.List;
004
005import org.hl7.fhir.r5.model.Base;
006import org.hl7.fhir.r5.utils.sql.Validator.TrueFalseOrUnknown;
007
008public interface Storage {
009
010  TrueFalseOrUnknown supportsArrays();
011  TrueFalseOrUnknown supportsComplexTypes();
012  
013  Store createStore(String name, List<Column> columns);
014  void addRow(Store store, List<Cell> cells);
015  void finish(Store store);
016  TrueFalseOrUnknown needsName();
017  String getKeyForSourceResource(Base res);
018  String getKeyForTargetResource(Base res);
019}