@Test @Override public void testUpdateMetadata() { assertThrows(UnsupportedOperationException.class, () -> { try (FDBRecordContext context = database.openContext()) { globalScope.updateMetadata(context, "foo", null).join(); } }); }
@Override public CompletableFuture<Void> updateMetadata(FDBRecordContext context, String key, byte[] metadata) { throw new UnsupportedOperationException("cannot update metadata in ExtendedDirectoryLayer"); }
ExtendedDirectoryLayer extends LocatableResolver { @Override public CompletableFuture<Void> updateMetadata(FDBRecordContext context, String key, byte[] metadata) { throw new UnsupportedOperationException("cannot update metadata in ExtendedDirectoryLayer"); } }
ExtendedDirectoryLayer extends LocatableResolver { @Override public CompletableFuture<Void> updateMetadata(FDBRecordContext context, String key, byte[] metadata) { throw new UnsupportedOperationException("cannot update metadata in ExtendedDirectoryLayer"); } @Deprecated @API(API.Status.DEPRECATED)  ExtendedDirectoryLayer(@Nonnull FDBRecordContext context, @Nonnull KeySpacePath path);  ExtendedDirectoryLayer(@Nonnull FDBDatabase database, @Nonnull ResolvedKeySpacePath path); private  ExtendedDirectoryLayer(@Nonnull FDBDatabase database,
                                   @Nullable KeySpacePath path,
                                   @Nullable CompletableFuture<ResolvedKeySpacePath> resolvedPathFuture); }
ExtendedDirectoryLayer extends LocatableResolver { @Override public CompletableFuture<Void> updateMetadata(FDBRecordContext context, String key, byte[] metadata) { throw new UnsupportedOperationException("cannot update metadata in ExtendedDirectoryLayer"); } @Deprecated @API(API.Status.DEPRECATED)  ExtendedDirectoryLayer(@Nonnull FDBRecordContext context, @Nonnull KeySpacePath path);  ExtendedDirectoryLayer(@Nonnull FDBDatabase database, @Nonnull ResolvedKeySpacePath path); private  ExtendedDirectoryLayer(@Nonnull FDBDatabase database,
                                   @Nullable KeySpacePath path,
                                   @Nullable CompletableFuture<ResolvedKeySpacePath> resolvedPathFuture); static ExtendedDirectoryLayer global(@Nonnull FDBDatabase database); @Override CompletableFuture<Void> setMapping(FDBRecordContext context, String key, ResolverResult value); @Override CompletableFuture<Void> updateMetadata(FDBRecordContext context, String key, byte[] metadata); @Override CompletableFuture<Void> setWindow(long count); @Override @Nonnull CompletableFuture<Subspace> getMappingSubspaceAsync(); @Override @Nonnull ResolverResult deserializeValue(byte[] value); @Override @Nonnull CompletableFuture<Subspace> getBaseSubspaceAsync(); }
ExtendedDirectoryLayer extends LocatableResolver { @Override public CompletableFuture<Void> updateMetadata(FDBRecordContext context, String key, byte[] metadata) { throw new UnsupportedOperationException("cannot update metadata in ExtendedDirectoryLayer"); } @Deprecated @API(API.Status.DEPRECATED)  ExtendedDirectoryLayer(@Nonnull FDBRecordContext context, @Nonnull KeySpacePath path);  ExtendedDirectoryLayer(@Nonnull FDBDatabase database, @Nonnull ResolvedKeySpacePath path); private  ExtendedDirectoryLayer(@Nonnull FDBDatabase database,
                                   @Nullable KeySpacePath path,
                                   @Nullable CompletableFuture<ResolvedKeySpacePath> resolvedPathFuture); static ExtendedDirectoryLayer global(@Nonnull FDBDatabase database); @Override CompletableFuture<Void> setMapping(FDBRecordContext context, String key, ResolverResult value); @Override CompletableFuture<Void> updateMetadata(FDBRecordContext context, String key, byte[] metadata); @Override CompletableFuture<Void> setWindow(long count); @Override @Nonnull CompletableFuture<Subspace> getMappingSubspaceAsync(); @Override @Nonnull ResolverResult deserializeValue(byte[] value); @Override @Nonnull CompletableFuture<Subspace> getBaseSubspaceAsync();  }