@InterfaceAudience.Public public final class CellBuilderFactory extends Object
CellBuilderType.DEEP_COPY All bytes array passed into builder will be copied to build an new Cell.
The cell impl is KeyValue
CellBuilderType.SHALLOW_COPY Just copy the references of passed bytes array to build an new Cell
The cell impl is IndividualBytesFieldCell
NOTE: The cell impl may be changed in the future. The user application SHOULD NOT depend on any concrete cell impl.| Modifier | Constructor and Description |
|---|---|
private |
CellBuilderFactory() |
| Modifier and Type | Method and Description |
|---|---|
static CellBuilder |
create(CellBuilderType type)
Create a CellBuilder instance.
|
private CellBuilderFactory()
public static CellBuilder create(CellBuilderType type)
type - indicates which memory copy is used in building cell.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.