cgta.serland

backends

package backends

Visibility
  1. Public
  2. All

Type Members

  1. trait JsonDerefer extends AnyRef

  2. case class JsonOutOpts(onlyBigLongsAsStrings: Boolean) extends Product with Serializable

  3. class SerAstIn extends SerInput

  4. class SerAstOut extends SerOutput

  5. case class SerBsonBinary(v: Binary) extends SerBsonNode with Product with Serializable

  6. case class SerBsonBoolean(v: Boolean) extends SerBsonNode with Product with Serializable

  7. trait SerBsonBuilder extends AnyRef

  8. case class SerBsonDouble(v: Double) extends SerBsonNode with Product with Serializable

  9. class SerBsonIn extends SerInput

  10. case class SerBsonInt(v: Int) extends SerBsonNode with Product with Serializable

  11. case class SerBsonList(v: BasicDBList) extends SerBsonNode with Product with Serializable

  12. case class SerBsonLong(v: Long) extends SerBsonNode with Product with Serializable

  13. sealed trait SerBsonNode extends AnyRef

  14. case class SerBsonObj(v: BasicDBObject) extends SerBsonNode with Product with Serializable

  15. class SerBsonOut extends SerOutput

    Copy paste job from SerJson at the moment, monadic nesting is tricky.

  16. case class SerBsonString(v: String) extends SerBsonNode with Product with Serializable

  17. class SerJsonIn extends SerInput

    This class with read in values from jackson root nodes.

    This class with read in values from jackson root nodes.

    derefer, a special trait that is used when we are deserializing json data that might contain refs. This will allow proper reconstruction of the data.

  18. class SerJsonOut extends SerOutput

  19. class SerOutputPrinter extends SerOutput

  20. class SerPennyDynamicIn extends AnyRef

  21. class SerPennyIn extends SerInput

    File format:

    File format:

    Structs: WStruct fid 0 is reserved, that is the stop field. so don't use it, ever! foreach field of struct x with fid => field.ordinal, wtBytes => wt(field.type), and encoded=> enc(field.value) ((uvar(fid)<<3) | wtBytes) ~ encoded SVarInt: WSVarInt svar(x) Fixed64: WFixed64 fixed64(x) OneOf: WOneOf uvar(keyId) ~ uvar(wt) ~ encoded(x) Strings: WByteArray uvar(len(x)) ~ bytes(x) Lists: WList if len(xs) == 0 uvar(0) else uvar(len(xs)) ~ wt(xs.elem) ~ rep1(for( x <- xs) yield encoded(x)) Options: WList, same as list but it's length is 0 or 1 only

  22. class SerPennyOut extends SerOutput

    The ultimate of speed and space.

  23. class SerPennyUnparsed extends AnyRef

    This class just slurps an inputstream and sticks it into an outputstream.

Value Members

  1. object JsonDerefer

  2. object JsonOutOpts extends Serializable

  3. object SerAstIn

  4. object SerAstNodes

  5. object SerAstOut

  6. object SerBsonIn

  7. object SerBsonNode

  8. object SerBsonOut

  9. object SerJsonIn

  10. object SerJsonOut

  11. object SerPenny

  12. object SerPennyDynamicIn

  13. object SerPennyIn

  14. object SerPennyOut

Ungrouped