public abstract class StreamingPropertyValue extends StreamingPropertyValueBase implements Serializable
searchIndex, store| Constructor and Description |
|---|
StreamingPropertyValue(Class<? extends Value> valueType) |
| Modifier and Type | Method and Description |
|---|---|
Object |
asObject()
Return this value as a regular java boxed primitive, String or primitive array.
|
Object |
asObjectCopy()
Return this value as a regular java boxed primitive, String or primitive array.
|
static StreamingPropertyValue |
create(InputStream inputStream,
Class<? extends Value> type) |
static StreamingPropertyValue |
create(InputStream inputStream,
Class<? extends Value> type,
Long length) |
static StreamingPropertyValue |
create(String value) |
abstract InputStream |
getInputStream() |
abstract Long |
getLength() |
String |
getTypeName() |
Class<? extends Value> |
getValueType() |
<T> T |
map(ValueMapper<T> mapper) |
String |
prettyPrint()
Returns a json-like string representation of the current value.
|
String |
readToString() |
String |
readToString(long offset,
long limit) |
String |
toString() |
<E extends Exception> |
writeTo(ValueWriter<E> writer) |
computeHash, equals, isSearchIndex, numberType, searchIndex, updateHash, valueGroupeq, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, equals, hashCode64, isNaN, parseHeaderInformation, ternaryEquals, writeToequals, hashCode, isSequenceValuepublic abstract Long getLength()
public abstract InputStream getInputStream()
public String readToString()
public String readToString(long offset, long limit)
public static StreamingPropertyValue create(String value)
public static StreamingPropertyValue create(InputStream inputStream, Class<? extends Value> type, Long length)
public static StreamingPropertyValue create(InputStream inputStream, Class<? extends Value> type)
public <E extends Exception> void writeTo(ValueWriter<E> writer) throws E extends Exception
public <T> T map(ValueMapper<T> mapper)
public Object asObject()
Valuepublic Object asObjectCopy()
ValueasObjectCopy in class Valuepublic String getTypeName()
getTypeName in class AnyValuepublic String prettyPrint()
ValueprettyPrint in class ValueCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.