Class CqlScanResources


  • public class CqlScanResources
    extends java.lang.Object
    CQL command to read a FHIR resource stored in Cassandra.
    • Constructor Summary

      Constructors 
      Constructor Description
      CqlScanResources​(long startToken, java.util.function.Function<ResourceRecord,​java.lang.Boolean> recordHandler)
      Public constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long run​(com.datastax.oss.driver.api.core.CqlSession session)
      Execute the CQL read query and return the Resource for the resourceTypeId, logicalId, version tuple.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CqlScanResources

        public CqlScanResources​(long startToken,
                                java.util.function.Function<ResourceRecord,​java.lang.Boolean> recordHandler)
        Public constructor
        Parameters:
        startToken -
        recordHandler -
    • Method Detail

      • run

        public long run​(com.datastax.oss.driver.api.core.CqlSession session)
                 throws FHIRPersistenceException
        Execute the CQL read query and return the Resource for the resourceTypeId, logicalId, version tuple.
        Parameters:
        resourceType -
        session -
        Returns:
        Throws:
        FHIRPersistenceException