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) |
Matrix |
createMatrixWithDefaultValue(Entity.DATA_TYPE type,
int rows,
int columns) |
Vector |
createPairWithDefaultValue(Entity.DATA_TYPE type) |
Scalar |
createScalarWithDefaultValue(Entity.DATA_TYPE type) |
Vector |
createVectorWithDefaultValue(Entity.DATA_TYPE type,
int size) |
public Entity createEntity(Entity.DATA_FORM form, Entity.DATA_TYPE type, ExtendedDataInput in) throws IOException
createEntity in interface EntityFactoryIOExceptionpublic Matrix createMatrixWithDefaultValue(Entity.DATA_TYPE type, int rows, int columns)
createMatrixWithDefaultValue in interface EntityFactorypublic Vector createVectorWithDefaultValue(Entity.DATA_TYPE type, int size)
createVectorWithDefaultValue in interface EntityFactorypublic Vector createPairWithDefaultValue(Entity.DATA_TYPE type)
createPairWithDefaultValue in interface EntityFactorypublic Scalar createScalarWithDefaultValue(Entity.DATA_TYPE type)
createScalarWithDefaultValue in interface EntityFactoryCopyright © 2019 DolphinDB. All rights reserved.