Class BlobNodeFactory
java.lang.Object
io.datarouter.storage.node.factory.BlobNodeFactory
@Singleton public class BlobNodeFactory extends Object
-
Constructor Summary
Constructors Constructor Description BlobNodeFactory() -
Method Summary
Modifier and Type Method Description <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>, N extends BlobStorage.PhysicalBlobStorageNode<PathbeanKey, Pathbean, Pathbean.PathbeanFielder>>
Ncreate(ClientId clientId, String bucketName, Subpath path)<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>, D extends io.datarouter.model.databean.Databean<PK, D>, F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK, D>>
BlobNodeBuilder<PK,D,F>create(ClientId clientId, Supplier<D> databeanSupplier, Supplier<F> fielderSupplier)BlobStorage.PhysicalBlobStorageNode<PathbeanKey,Pathbean,Pathbean.PathbeanFielder>createSubdirectory(BlobStorage.PhysicalBlobStorageNode<PathbeanKey,Pathbean,Pathbean.PathbeanFielder> node, Subpath subdirectoryPath)
-
Constructor Details
-
BlobNodeFactory
public BlobNodeFactory()
-
-
Method Details
-
create
public <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>, D extends io.datarouter.model.databean.Databean<PK, D>, F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK, D>> BlobNodeBuilder<PK,D,F> create(ClientId clientId, Supplier<D> databeanSupplier, Supplier<F> fielderSupplier) -
create
public <PK extends io.datarouter.model.key.primary.PrimaryKey<PK>, N extends BlobStorage.PhysicalBlobStorageNode<PathbeanKey, Pathbean, Pathbean.PathbeanFielder>> N create(ClientId clientId, String bucketName, Subpath path) -
createSubdirectory
public BlobStorage.PhysicalBlobStorageNode<PathbeanKey,Pathbean,Pathbean.PathbeanFielder> createSubdirectory(BlobStorage.PhysicalBlobStorageNode<PathbeanKey,Pathbean,Pathbean.PathbeanFielder> node, Subpath subdirectoryPath)
-