Text function ( ByteBuffer arg0 ) { return new Text ( ByteBuffers . getString ( arg0 , StandardCharsets . UTF_8 ) , arg0 ) ; }
return the text encoded in bytes so long as those bytes adhereto the format specified by the #getbytes method . this methodassumes that all the bytes in the bytes belong to the text . ingeneral , it is necessary to get the appropriate text slice from the parent bytebuffer using bytebuffers #slice bytebuffer , int , int . concode_field_sep Object mutex concode_elem_sep ByteBuffer bytes concode_elem_sep String text concode_elem_sep LazyCache<String,Text> cache concode_elem_sep Text EMPTY concode_field_sep void copyTo concode_elem_sep int size concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep int compareTo concode_elem_sep Text wrap concode_elem_sep ByteBuffer getBytes concode_elem_sep Text wrapCached