public final class BlobJson extends Object implements Json
| Constructor and Description |
|---|
BlobJson(JsonMapper mapper,
eu.eventstorm.sql.type.common.BlobJsonAdaptee adaptee) |
BlobJson(JsonMapper mapper,
byte[] buf) |
| Modifier and Type | Method and Description |
|---|---|
JsonList |
asList() |
JsonMap |
asMap() |
void |
flush() |
void |
free() |
InputStream |
getBinaryStream() |
InputStream |
getBinaryStream(long pos,
long length) |
protected byte[] |
getBuf() |
byte[] |
getBytes(long pos,
int length) |
long |
length() |
long |
position(Blob pattern,
long start) |
long |
position(byte[] pattern,
long start) |
OutputStream |
setBinaryStream(long pos) |
protected void |
setBuf(byte[] buf) |
int |
setBytes(long pos,
byte[] bytes) |
int |
setBytes(long pos,
byte[] bytes,
int offset,
int len) |
void |
truncate(long len) |
public BlobJson(JsonMapper mapper, byte[] buf)
public BlobJson(JsonMapper mapper, eu.eventstorm.sql.type.common.BlobJsonAdaptee adaptee)
protected final void setBuf(byte[] buf)
protected final byte[] getBuf()
public final InputStream getBinaryStream()
getBinaryStream in interface Blobpublic int setBytes(long pos,
byte[] bytes,
int offset,
int len)
public OutputStream setBinaryStream(long pos)
setBinaryStream in interface Blobpublic InputStream getBinaryStream(long pos, long length)
getBinaryStream in interface BlobCopyright © 2019. All rights reserved.