public class MissingOrdRemapper
extends java.lang.Object
Constructor and Description |
---|
MissingOrdRemapper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Iterable<BytesRef> |
insertEmptyValue(java.lang.Iterable<BytesRef> iterable)
insert an empty byte[] to the front of this iterable
|
static java.lang.Iterable<java.lang.Number> |
mapAllOrds(java.lang.Iterable<java.lang.Number> iterable)
remaps every ord+1 on this iterable
|
static java.lang.Iterable<java.lang.Number> |
mapMissingToOrd0(java.lang.Iterable<java.lang.Number> iterable)
remaps ord -1 to ord 0 on this iterable.
|
public static java.lang.Iterable<BytesRef> insertEmptyValue(java.lang.Iterable<BytesRef> iterable)
public static java.lang.Iterable<java.lang.Number> mapMissingToOrd0(java.lang.Iterable<java.lang.Number> iterable)
public static java.lang.Iterable<java.lang.Number> mapAllOrds(java.lang.Iterable<java.lang.Number> iterable)
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.