/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/encoding/ |
H A D | SimpleIntEncoder.java | 32 * encoded with {#link Vint8#encode} 40 public void encode(int value) throws IOException { method in class:SimpleIntEncoder
|
H A D | VInt8IntEncoder.java | 52 public void encode(int value) throws IOException { method in class:VInt8IntEncoder
|
H A D | DGapIntEncoder.java | 30 * {@link #encode(int)} in an ascending sorted manner, which ensures only 48 public void encode(int value) throws IOException { method in class:DGapIntEncoder 49 encoder.encode(value - prev);
|
H A D | EightFlagsIntEncoder.java | 39 * <li>Binary encode: <u>0 | 0 | 0 | 0 | 1 | 1 | 0 | 1</u> 00000010 00000000 51 * time on bit manipulation at encode time) 60 public void encode(int data) throws IOException { method in class:EightFlagsIntEncoder
|
H A D | FourFlagsIntEncoder.java | 41 * <li>Binary encode: <u>01 | 01 | 00 | 01</u> 00000000 <u>00 | 00 | 00 | 10</u> 53 * time on bit manipulation @ encode time) 69 * Vint8 will only encode values larger or equal to 4, the values saves for 75 public void encode(int data) throws IOException { method in class:FourFlagsIntEncoder
|
H A D | IntEncoder.java | 25 * override {@link #encode(int)} to encode the value using their encoding 31 * {@link #encode(int)} or {@link #close()}. 64 * Once this method was called, no further calls to {@link #encode(int) 65 * encode} should be made before first calling {@link #reInit(OutputStream) 81 public abstract void encode(int value) throws IOException; method in class:IntEncoder
|
H A D | NOnesIntEncoder.java | 44 * This does not mean you cannot encode {@link Integer#MAX_VALUE}. If it is not 45 * the first value to encode, and you wrap this encoder with 69 // We might have ones in our buffer, encode them as neccesary. 71 super.encode(1); 78 public void encode(int value) throws IOException { method in class:NOnesIntEncoder 82 super.encode(2); 88 // If it's not one - there might have been ones we had to encode prior to 92 super.encode(1); 95 // encode value + 1 --> the translation. 96 super.encode(valu [all...] |
H A D | UniqueValuesIntEncoder.java | 25 * implementation assumes the values given to {@link #encode(int)} are sorted. 36 * long. Therefore we are guaranteed not to get this value in encode. 48 public void encode(int value) throws IOException { method in class:UniqueValuesIntEncoder 50 encoder.encode(value);
|
H A D | SortingIntEncoder.java | 25 * An {@link IntEncoderFilter} which sorts the values to encode in ascending 51 encoder.encode(set[i]); 60 public void encode(int value) throws IOException { method in class:SortingIntEncoder
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/payloads/ |
H A D | AbstractEncoder.java | 28 public Payload encode(char[] buffer) { method in class:AbstractEncoder 29 return encode(buffer, 0, buffer.length);
|
H A D | FloatEncoder.java | 30 public Payload encode(char[] buffer, int offset, int length) { method in class:FloatEncoder
|
H A D | IntegerEncoder.java | 31 public Payload encode(char[] buffer, int offset, int length) { method in class:IntegerEncoder
|
H A D | PayloadEncoder.java | 30 Payload encode(char[] buffer); method in interface:PayloadEncoder 39 Payload encode(char [] buffer, int offset, int length); method in interface:PayloadEncoder
|
H A D | IdentityEncoder.java | 48 public Payload encode(char[] buffer, int offset, int length) { method in class:IdentityEncoder 49 final ByteBuffer bb = charset.encode(CharBuffer.wrap(buffer, offset, length));
|
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/geohash/ |
H A D | GeoHashUtils.java | 51 * @param latitude Latitude to encode 52 * @param longitude Longitude to encode 55 public static String encode(double latitude, double longitude) { method in class:GeoHashUtils
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/demohtml/ |
H A D | Entities.java | 48 public static final String encode(String s) { method in class:Entities
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/ |
H A D | Vint8.java | 85 * Returns the number of bytes needed to encode {@code number}. 87 * @return The number of bytes needed to encode {@code number}. 104 * The maximum number of bytes needed to encode a number using {@code Vint8}. 114 public static void encode(int number, OutputStream out) throws IOException { method in class:Vint8 147 public static int encode(int number, byte[] dest, int start) { method in class:Vint8
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/ |
H A D | SortedTermFreqIteratorWrapper.java | 108 encode(writer, output, buffer, spare, source.weight()); 165 protected void encode(ByteSequencesWriter writer, ByteArrayDataOutput output, byte[] buffer, BytesRef spare, long weight) throws IOException { method in class:SortedTermFreqIteratorWrapper
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/fst/ |
H A D | WFSTCompletionLookup.java | 238 throw new UnsupportedOperationException("cannot encode value: " + value); 251 protected void encode(ByteSequencesWriter writer, ByteArrayDataOutput output, byte[] buffer, BytesRef spare, long weight) throws IOException { method in class:WFSTCompletionLookup.WFSTTermFreqIteratorWrapper
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | IndexableBinaryStringTools.java | 75 * Returns the number of chars required to encode the given byte sequence. 79 * @return The number of chars required to encode the given byte sequence 97 * Returns the number of chars required to encode the given bytes. 102 * @return The number of chars required to encode the number of bytes. 157 * @param input The byte sequence to encode 162 * @deprecated Use {@link #encode(byte[], int, int, char[], int, int)} 166 public static void encode(ByteBuffer input, CharBuffer output) { method in class:IndexableBinaryStringTools 175 encode(input.array(), inputOffset, inputLength, output.array(), 194 public static void encode(byte[] inputArray, int inputOffset, method in class:IndexableBinaryStringTools 335 * {@link #encode(jav 366 public static CharBuffer encode(ByteBuffer input) { method in class:IndexableBinaryStringTools [all...] |