com.xxdb.data.EntityFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-java Show documentation
Show all versions of api-java Show documentation
The messaging and data conversion protocol between Java and DolphinDB server
package com.xxdb.data;
import java.io.IOException;
import com.xxdb.io.ExtendedDataInput;
public interface EntityFactory {
Entity createEntity(Entity.DATA_FORM form, Entity.DATA_TYPE type, ExtendedDataInput in) throws IOException;
Matrix createMatrixWithDefaultValue(Entity.DATA_TYPE type, int rows, int columns);
Vector createVectorWithDefaultValue(Entity.DATA_TYPE type, int size);
Vector createPairWithDefaultValue(Entity.DATA_TYPE type);
Scalar createScalarWithDefaultValue(Entity.DATA_TYPE type);
}