public class ServerUDTInputStream extends ServerInputStream
UDTValue but does not provide all
data at once but as requested, that is, the value of this UDTValue will not
be provided as a whole but incrementally as requested. This significantly
improves memory usage.UDTValue| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
userDefinedTypeName
The name of the user-defined type.
|
| Constructor and Description |
|---|
ServerUDTInputStream(java.io.InputStream in,
java.lang.String userDefinedType)
Creates a new UDTValue as
ServerInputStream that is all data will
be transfered as requested. |
ServerUDTInputStream(UDTValue value)
Creates a new
ServerInputStream for the designated
UDTValue. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getUserDefinedType()
Gets the name (a string) of the user-defined type of this value.
|
available, close, mark, markSupported, read, read, reset, skipprotected final java.lang.String userDefinedTypeName
public ServerUDTInputStream(java.io.InputStream in,
java.lang.String userDefinedType)
ServerInputStream that is all data will
be transfered as requested.in - The input stream providing the value for this UDTValue.userDefinedType - The name of the user-defined type of the value. the
name of the user defined typepublic ServerUDTInputStream(UDTValue value)
ServerInputStream for the designated
UDTValue.value - The UDTValue providing the necessary information
for the ServerUDTInputStream to create.