@InterfaceAudience.Public public enum CellBuilderType extends Enum<CellBuilderType>
CellBuilderFactory and ExtendedCellBuilderFactory.
Indicates which memory copy is used in building cell.| 枚举常量和说明 |
|---|
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
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.