public class BasicEntityFactory extends Object implements EntityFactory
| Constructor and Description |
|---|
BasicEntityFactory() |
| Modifier and Type | Method and Description |
|---|---|
Entity |
createEntity(Entity.DATA_FORM form,
Entity.DATA_TYPE type,
ExtendedDataInput in,
boolean extended) |
Matrix |
createMatrixWithDefaultValue(Entity.DATA_TYPE type,
int rows,
int columns) |
Vector |
createPairWithDefaultValue(Entity.DATA_TYPE type) |
static Entity |
createScalar(Entity.DATA_TYPE dataType,
Object object,
int extraParam) |
Scalar |
createScalarWithDefaultValue(Entity.DATA_TYPE type) |
Vector |
createVector(Entity.DATA_TYPE type,
int size,
int capacity,
int extra) |
Vector |
createVectorWithDefaultValue(Entity.DATA_TYPE type,
int size,
int extra) |
static EntityFactory |
instance() |
public static EntityFactory instance()
public Entity createEntity(Entity.DATA_FORM form, Entity.DATA_TYPE type, ExtendedDataInput in, boolean extended) throws IOException
createEntity in interface EntityFactoryIOExceptionpublic Vector createVector(Entity.DATA_TYPE type, int size, int capacity, int extra)
createVector in interface EntityFactorypublic Matrix createMatrixWithDefaultValue(Entity.DATA_TYPE type, int rows, int columns)
createMatrixWithDefaultValue in interface EntityFactorypublic Vector createVectorWithDefaultValue(Entity.DATA_TYPE type, int size, int extra)
createVectorWithDefaultValue in interface EntityFactorypublic Vector createPairWithDefaultValue(Entity.DATA_TYPE type)
createPairWithDefaultValue in interface EntityFactorypublic Scalar createScalarWithDefaultValue(Entity.DATA_TYPE type)
createScalarWithDefaultValue in interface EntityFactorypublic static Entity createScalar(Entity.DATA_TYPE dataType, Object object, int extraParam) throws Exception
ExceptionCopyright © 2026 DolphinDB. All rights reserved.