@InterfaceAudience.Public public enum CellBuilderType extends Enum<CellBuilderType>
CellBuilderFactory
and ExtendedCellBuilderFactory
. Indicates which memory
copy is used in building cell.Enum Constant and Description |
---|
DEEP_COPY
The cell builder will copy all passed bytes for building cell.
|
SHALLOW_COPY
DON'T modify the byte array passed to cell builder because all fields in new cell are reference
to input arguments
|
Modifier and Type | Method and Description |
---|---|
static CellBuilderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CellBuilderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CellBuilderType DEEP_COPY
public static final CellBuilderType SHALLOW_COPY
public static CellBuilderType[] values()
for (CellBuilderType c : CellBuilderType.values()) System.out.println(c);
public static CellBuilderType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.