trait ObjectOutput extends SequentialOutput
Represents an abstract sink for serialization of string-to-value mappings. Any ObjectOutput instance
must be assumed to be stateful and used in strictly sequential manner. After all key-value pairs have been
written, finish()
must be called to explicitly mark that the object is complete.
ObjectOutput MUST preserve information about the order in which fields are written. ObjectInput is required to read fields in exactly the same order as ObjectOutput writes them.
- Alphabetic
- By Inheritance
- ObjectOutput
- SequentialOutput
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
finish(): Unit
Indicates that all elements or fields in this SequentialOutput have been written.
Indicates that all elements or fields in this SequentialOutput have been written. This method MUST always be called after list/object writing has been finished.
- Definition Classes
- SequentialOutput
-
abstract
def
getClass(): Class[_]
- Definition Classes
- Any
-
abstract
def
writeField(key: String): Output
Returns an Output representing value mapped to given string key.
Returns an Output representing value mapped to given string key. This Output instance must be fully used before calling writeField next time. That means, one can NOT simultaneously use multiple instances of Output returned by subsequent calls to this method.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
equals(arg0: Any): Boolean
- Definition Classes
- Any
-
def
hashCode(): Int
- Definition Classes
- Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- Any