scala.read.bsonobject.ssp Maven / Gradle / Ivy
The newest version!
<%@ val renderType: com.foursquare.spindle.codegen.runtime.BSONObjectRenderType %>
<%@ val lhs: String %>
<%@ val indent: String %>
<%@ val wrapLeft: String = "" %>
<%@ val wrapRight: String = "" %>
<% render("../" + renderType.ref.fieldReadTemplate,
Map(
"renderType" -> renderType.ref,
"lhs" -> lhs,
"indent" -> indent,
"wrapLeft" -> (wrapLeft + "{ val bb: java.nio.ByteBuffer = "),
"wrapRight" -> ("; new org.bson.BasicBSONDecoder().readObject(org.apache.thrift.TBaseHelper.rightSize(bb).array()); }" + wrapRight))) %>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy