@Test void getNonExistent() { assertEquals(MISSING_RESOURCE, DBResource.findResource(pg.getPostgresDatabase(), rdf.createIRI(TRELLIS_DATA_PREFIX + "other"), extensions, false).toCompletableFuture().join(), "Check for non-existent resource"); }
public static CompletionStage<Resource> findResource(final DataSource ds, final IRI identifier, final Map<String, IRI> extensions, final boolean includeLdpType) { return findResource(Jdbi.create(ds), identifier, extensions, includeLdpType); }
DBResource implements Resource { public static CompletionStage<Resource> findResource(final DataSource ds, final IRI identifier, final Map<String, IRI> extensions, final boolean includeLdpType) { return findResource(Jdbi.create(ds), identifier, extensions, includeLdpType); } }
DBResource implements Resource { public static CompletionStage<Resource> findResource(final DataSource ds, final IRI identifier, final Map<String, IRI> extensions, final boolean includeLdpType) { return findResource(Jdbi.create(ds), identifier, extensions, includeLdpType); } protected  DBResource(final Jdbi jdbi, final IRI identifier, final Map<String, IRI> extensions,
            final boolean includeLdpType, final boolean supportDirectContainment,
            final boolean supportIndirectContainment); }
DBResource implements Resource { public static CompletionStage<Resource> findResource(final DataSource ds, final IRI identifier, final Map<String, IRI> extensions, final boolean includeLdpType) { return findResource(Jdbi.create(ds), identifier, extensions, includeLdpType); } protected  DBResource(final Jdbi jdbi, final IRI identifier, final Map<String, IRI> extensions,
            final boolean includeLdpType, final boolean supportDirectContainment,
            final boolean supportIndirectContainment); static CompletionStage<Resource> findResource(final DataSource ds, final IRI identifier,
            final Map<String, IRI> extensions, final boolean includeLdpType); static CompletionStage<Resource> findResource(final Jdbi jdbi, final IRI identifier,
            final Map<String, IRI> extensions, final boolean includeLdpType); static CompletionStage<Resource> findResource(final Jdbi jdbi, final IRI identifier,
            final Map<String, IRI> extensions, final boolean includeLdpType, final boolean supportDirectContainment,
            final boolean supportIndirectContainment); boolean isDeleted(); @Override Stream<Quad> stream(); @Override Stream<Quad> stream(final Collection<IRI> graphNames); @Override IRI getIdentifier(); @Override IRI getInteractionModel(); @Override Optional<IRI> getContainer(); @Override Optional<IRI> getMembershipResource(); @Override Optional<IRI> getMemberRelation(); @Override Optional<IRI> getMemberOfRelation(); @Override Optional<IRI> getInsertedContentRelation(); @Override Optional<BinaryMetadata> getBinaryMetadata(); @Override Instant getModified(); @Override boolean hasMetadata(final IRI graphName); @Override Set<IRI> getMetadataGraphNames(); @Override Stream<Map.Entry<String,String>> getExtraLinkRelations(); }
DBResource implements Resource { public static CompletionStage<Resource> findResource(final DataSource ds, final IRI identifier, final Map<String, IRI> extensions, final boolean includeLdpType) { return findResource(Jdbi.create(ds), identifier, extensions, includeLdpType); } protected  DBResource(final Jdbi jdbi, final IRI identifier, final Map<String, IRI> extensions,
            final boolean includeLdpType, final boolean supportDirectContainment,
            final boolean supportIndirectContainment); static CompletionStage<Resource> findResource(final DataSource ds, final IRI identifier,
            final Map<String, IRI> extensions, final boolean includeLdpType); static CompletionStage<Resource> findResource(final Jdbi jdbi, final IRI identifier,
            final Map<String, IRI> extensions, final boolean includeLdpType); static CompletionStage<Resource> findResource(final Jdbi jdbi, final IRI identifier,
            final Map<String, IRI> extensions, final boolean includeLdpType, final boolean supportDirectContainment,
            final boolean supportIndirectContainment); boolean isDeleted(); @Override Stream<Quad> stream(); @Override Stream<Quad> stream(final Collection<IRI> graphNames); @Override IRI getIdentifier(); @Override IRI getInteractionModel(); @Override Optional<IRI> getContainer(); @Override Optional<IRI> getMembershipResource(); @Override Optional<IRI> getMemberRelation(); @Override Optional<IRI> getMemberOfRelation(); @Override Optional<IRI> getInsertedContentRelation(); @Override Optional<BinaryMetadata> getBinaryMetadata(); @Override Instant getModified(); @Override boolean hasMetadata(final IRI graphName); @Override Set<IRI> getMetadataGraphNames(); @Override Stream<Map.Entry<String,String>> getExtraLinkRelations();  }