Tabnine Logo
JavaBinCodec$StringBytes.reset
Code IndexAdd Tabnine to your IDE (free)

How to use
reset
method
in
org.apache.solr.common.util.JavaBinCodec$StringBytes

Best Java code snippets using org.apache.solr.common.util.JavaBinCodec$StringBytes.reset (Showing top 4 results out of 315)

origin: com.hynnet/solr-solrj

public StringBytes(byte[] bytes, int offset, int length) {
 reset(bytes, offset, length);
}
origin: org.apache.solr/solr-solrj

public StringBytes(byte[] bytes, int offset, int length) {
 reset(bytes, offset, length);
}
origin: com.hynnet/solr-solrj

public String readStr(DataInputInputStream dis, StringCache stringCache) throws IOException {
 int sz = readSize(dis);
 if (bytes == null || bytes.length < sz) bytes = new byte[sz];
 dis.readFully(bytes, 0, sz);
 if (stringCache != null) {
  return stringCache.get(bytesRef.reset(bytes, 0, sz));
 } else {
  arr.reset();
  ByteUtils.UTF8toUTF16(bytes, 0, sz, arr);
  return arr.toString();
 }
}
origin: org.apache.solr/solr-solrj

public String readStr(DataInputInputStream dis, StringCache stringCache) throws IOException {
 int sz = readSize(dis);
 if (bytes == null || bytes.length < sz) bytes = new byte[sz];
 dis.readFully(bytes, 0, sz);
 if (stringCache != null) {
  return stringCache.get(bytesRef.reset(bytes, 0, sz));
 } else {
  arr.reset();
  ByteUtils.UTF8toUTF16(bytes, 0, sz, arr);
  return arr.toString();
 }
}
org.apache.solr.common.utilJavaBinCodec$StringBytesreset

Popular methods of JavaBinCodec$StringBytes

  • <init>
  • bytesEquals

Popular in Java

  • Updating database using SQL prepared statement
  • getContentResolver (Context)
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now