trait FieldInput extends Input
- Alphabetic
- By Inheritance
- FieldInput
- Input
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def fieldName: String
-
abstract
def
inputType: InputType
Returns the type of the value that can be read from this Input.
Returns the type of the value that can be read from this Input. Only four types can be distinguished (see InputType for more details on this).
If this method returns InputType.Null, then
readNull()can be safely called.
If this method returns InputType.Object, then AT LEAST ONE OFreadObject()andreadMap()can be safely called.
If this method returns InputType.List, then AT LEAST ONE OFreadList()andreadSet()can be safely called.
If this method returns InputType.Simple then AT LEAST ONE OFreadString(),readChar(),readBoolean(),readByte(),readShort(),readInt(),readLong(),readTimestamp(),readFloat(),readDouble(),readBinary()can be called.It's impossible to know which of the listed methods is actually safe to call based only on InputType. It is the responsibility of GenCodec implementation to have reading and writing logic consistent. For example, if
writeDouble(Double)is used during writing thenreadDouble()must be used during reading by the same GenCodec.- Definition Classes
- Input
-
abstract
def
readBinary(): Array[Byte]
- Definition Classes
- Input
-
abstract
def
readBoolean(): Boolean
- Definition Classes
- Input
-
abstract
def
readDouble(): Double
- Definition Classes
- Input
-
abstract
def
readInt(): Int
- Definition Classes
- Input
-
abstract
def
readList(): ListInput
- Definition Classes
- Input
-
abstract
def
readLong(): Long
- Definition Classes
- Input
-
abstract
def
readNull(): Null
- Definition Classes
- Input
-
abstract
def
readObject(): ObjectInput
- Definition Classes
- Input
-
abstract
def
readString(): String
- Definition Classes
- Input
-
abstract
def
skip(): Unit
- Definition Classes
- Input
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
readByte(): Byte
- Definition Classes
- Input
-
def
readChar(): Char
- Definition Classes
- Input
-
def
readFloat(): Float
- Definition Classes
- Input
-
def
readMap(): ObjectInput
- Definition Classes
- Input
-
def
readSet(): ListInput
- Definition Classes
- Input
-
def
readShort(): Short
- Definition Classes
- Input
-
def
readTimestamp(): Long
- Definition Classes
- Input
-
def
readUnit(): Unit
- Definition Classes
- Input
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )