Package com.yahoo.slime
Interface Inserter
-
- All Known Implementing Classes:
ArrayInserter
,ObjectInserter
,ObjectSymbolInserter
,SlimeInserter
public interface Inserter
Helper interface for inserting values into any of the container classes (ArrayValue, ObjectValue, or Slime). May be useful for deserializers where you can use it to decouple the actual value decoding from the container where the value should be inserted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Cursor
insertARRAY()
Cursor
insertBOOL(boolean value)
Cursor
insertDATA(byte[] value)
Cursor
insertDOUBLE(double value)
Cursor
insertLONG(long value)
Cursor
insertNIX()
Cursor
insertOBJECT()
Cursor
insertSTRING(byte[] utf8)
Cursor
insertSTRING(java.lang.String value)
-
-
-
Method Detail
-
insertNIX
Cursor insertNIX()
-
insertBOOL
Cursor insertBOOL(boolean value)
-
insertLONG
Cursor insertLONG(long value)
-
insertDOUBLE
Cursor insertDOUBLE(double value)
-
insertSTRING
Cursor insertSTRING(java.lang.String value)
-
insertSTRING
Cursor insertSTRING(byte[] utf8)
-
insertDATA
Cursor insertDATA(byte[] value)
-
insertARRAY
Cursor insertARRAY()
-
insertOBJECT
Cursor insertOBJECT()
-
-