public static VectorPartitionDesc createVectorizedInputFileFormat(String inputFileFormatClassName, boolean isInputFileFormatSelfDescribing, TypeInfo[] dataTypeInfos) { return new VectorPartitionDesc( inputFileFormatClassName, isInputFileFormatSelfDescribing, VectorMapOperatorReadType.VECTORIZED_INPUT_FILE_FORMAT, dataTypeInfos); }
public static VectorPartitionDesc createVectorDeserialize(String inputFileFormatClassName, VectorDeserializeType vectorDeserializeType, TypeInfo[] dataTypeInfos) { return new VectorPartitionDesc(inputFileFormatClassName, vectorDeserializeType, dataTypeInfos); }
public static VectorPartitionDesc createRowDeserialize(String inputFileFormatClassName, boolean isInputFileFormatSelfDescribing, String rowDeserializerClassName, TypeInfo[] dataTypeInfos) { return new VectorPartitionDesc(rowDeserializerClassName, isInputFileFormatSelfDescribing, inputFileFormatClassName, dataTypeInfos); }
public static VectorPartitionDesc createRowDeserialize(String inputFileFormatClassName, boolean isInputFileFormatSelfDescribing, String rowDeserializerClassName) { return new VectorPartitionDesc(rowDeserializerClassName, isInputFileFormatSelfDescribing, inputFileFormatClassName); }
public static VectorPartitionDesc createVectorizedInputFileFormat(String inputFileFormatClassName, boolean isInputFileFormatSelfDescribing) { return new VectorPartitionDesc( inputFileFormatClassName, isInputFileFormatSelfDescribing, VectorMapOperatorReadType.VECTORIZED_INPUT_FILE_FORMAT); }
public static VectorPartitionDesc createVectorDeserialize(String inputFileFormatClassName, VectorDeserializeType vectorDeserializeType) { return new VectorPartitionDesc(inputFileFormatClassName, vectorDeserializeType); }
@Override public VectorPartitionDesc clone() { VectorPartitionDesc result; switch (vectorMapOperatorReadType) { case VECTORIZED_INPUT_FILE_FORMAT: result = new VectorPartitionDesc(inputFileFormatClassName, isInputFileFormatSelfDescribing, vectorMapOperatorReadType, dataTypeInfos); break; case VECTOR_DESERIALIZE: result = new VectorPartitionDesc(inputFileFormatClassName, vectorDeserializeType, dataTypeInfos); break; case ROW_DESERIALIZE: result = new VectorPartitionDesc(inputFileFormatClassName, isInputFileFormatSelfDescribing, rowDeserializerClassName, dataTypeInfos); break; default: throw new RuntimeException("Unexpected vector map operator read type " + vectorMapOperatorReadType.name()); } result.dataTypeInfos = Arrays.copyOf(dataTypeInfos, dataTypeInfos.length); return result; }
@Override public VectorPartitionDesc clone() { VectorPartitionDesc result; switch (vectorMapOperatorReadType) { case VECTORIZED_INPUT_FILE_FORMAT: result = new VectorPartitionDesc(inputFileFormatClassName, isInputFileFormatSelfDescribing, vectorMapOperatorReadType); break; case VECTOR_DESERIALIZE: result = new VectorPartitionDesc(inputFileFormatClassName, vectorDeserializeType); break; case ROW_DESERIALIZE: result = new VectorPartitionDesc(inputFileFormatClassName, isInputFileFormatSelfDescribing, rowDeserializerClassName); break; default: throw new RuntimeException("Unexpected vector map operator read type " + vectorMapOperatorReadType.name()); } result.dataTypeInfos = Arrays.copyOf(dataTypeInfos, dataTypeInfos.length); return result; }