public abstract static class HollowProducer.Blob extends java.lang.Object implements HollowProducer.PublishArtifact
Modifier and Type | Class and Description |
---|---|
static class |
HollowProducer.Blob.Type
Hollow blob types are
SNAPSHOT , DELTA and REVERSE_DELTA . |
Modifier and Type | Field and Description |
---|---|
protected long |
fromVersion |
protected ProducerOptionalBlobPartConfig |
optionalPartConfig |
protected long |
toVersion |
protected HollowProducer.Blob.Type |
type |
Modifier | Constructor and Description |
---|---|
protected |
Blob(long fromVersion,
long toVersion,
HollowProducer.Blob.Type type) |
protected |
Blob(long fromVersion,
long toVersion,
HollowProducer.Blob.Type type,
ProducerOptionalBlobPartConfig optionalPartConfig) |
Modifier and Type | Method and Description |
---|---|
long |
getFromVersion() |
ProducerOptionalBlobPartConfig |
getOptionalPartConfig() |
java.nio.file.Path |
getOptionalPartPath(java.lang.String partName) |
long |
getToVersion() |
HollowProducer.Blob.Type |
getType() |
java.io.InputStream |
newOptionalPartInputStream(java.lang.String partName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cleanup, getFile, getPath, newInputStream, write
protected final long fromVersion
protected final long toVersion
protected final HollowProducer.Blob.Type type
protected final ProducerOptionalBlobPartConfig optionalPartConfig
protected Blob(long fromVersion, long toVersion, HollowProducer.Blob.Type type)
protected Blob(long fromVersion, long toVersion, HollowProducer.Blob.Type type, ProducerOptionalBlobPartConfig optionalPartConfig)
public java.io.InputStream newOptionalPartInputStream(java.lang.String partName) throws java.io.IOException
java.io.IOException
public java.nio.file.Path getOptionalPartPath(java.lang.String partName)
public HollowProducer.Blob.Type getType()
public long getFromVersion()
public long getToVersion()
public ProducerOptionalBlobPartConfig getOptionalPartConfig()