Package org.apache.thrift.protocol
Class TSimpleJSONProtocol.MapContext
- java.lang.Object
-
- org.apache.thrift.protocol.TSimpleJSONProtocol.Context
-
- org.apache.thrift.protocol.TSimpleJSONProtocol.StructContext
-
- org.apache.thrift.protocol.TSimpleJSONProtocol.MapContext
-
- Enclosing class:
- TSimpleJSONProtocol
protected class TSimpleJSONProtocol.MapContext extends TSimpleJSONProtocol.StructContext
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isKey
-
Fields inherited from class org.apache.thrift.protocol.TSimpleJSONProtocol.StructContext
colon_, first_
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MapContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isMapKey()
Returns whether the current value is a key in a mapprotected void
write()
-
-
-
Method Detail
-
write
protected void write() throws TException
- Overrides:
write
in classTSimpleJSONProtocol.StructContext
- Throws:
TException
-
isMapKey
protected boolean isMapKey()
Description copied from class:TSimpleJSONProtocol.Context
Returns whether the current value is a key in a map- Overrides:
isMapKey
in classTSimpleJSONProtocol.Context
-
-