@Override public boolean equals(Object o) { if (o instanceof VectorPartitionDesc) { VectorPartitionDesc other = (VectorPartitionDesc) o; return Strings.nullToEmpty(getInputFileFormatClassName()).equals( Strings.nullToEmpty(other.getInputFileFormatClassName())) && Strings.nullToEmpty(getRowDeserializerClassName()).equals( Strings.nullToEmpty(other.getRowDeserializerClassName())) && getVectorDeserializeType() == other.getVectorDeserializeType() && getVectorMapOperatorReadType() == other.getVectorMapOperatorReadType() && getIsInputFileFormatSelfDescribing() == other.getIsInputFileFormatSelfDescribing() && Arrays.equals(getDataTypeInfos(), other.getDataTypeInfos()); } return false; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = result * prime + (getInputFileFormatClassName() == null ? 0 : getInputFileFormatClassName().hashCode()); result = result * prime + (getRowDeserializerClassName() == null ? 0 : getRowDeserializerClassName().hashCode()); result = result * prime + (getVectorDeserializeType() == null ? 0 : getVectorDeserializeType().hashCode()); result = result * prime + (getVectorMapOperatorReadType() == null ? 0 : getVectorMapOperatorReadType().hashCode()); result = result * prime + Boolean.valueOf(getIsInputFileFormatSelfDescribing()).hashCode(); result = result * prime + Arrays.hashCode(getDataTypeInfos()); return result; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = result * prime + (getInputFileFormatClassName() == null ? 0 : getInputFileFormatClassName().hashCode()); result = result * prime + (getRowDeserializerClassName() == null ? 0 : getRowDeserializerClassName().hashCode()); result = result * prime + (getVectorDeserializeType() == null ? 0 : getVectorDeserializeType().hashCode()); result = result * prime + (getVectorMapOperatorReadType() == null ? 0 : getVectorMapOperatorReadType().hashCode()); result = result * prime + Boolean.valueOf(getIsInputFileFormatSelfDescribing()).hashCode(); result = result * prime + Arrays.hashCode(getDataTypeInfos()); return result; }
@Override public boolean equals(Object o) { if (o instanceof VectorPartitionDesc) { VectorPartitionDesc other = (VectorPartitionDesc) o; return Strings.nullToEmpty(getInputFileFormatClassName()).equals( Strings.nullToEmpty(other.getInputFileFormatClassName())) && Strings.nullToEmpty(getRowDeserializerClassName()).equals( Strings.nullToEmpty(other.getRowDeserializerClassName())) && getVectorDeserializeType() == other.getVectorDeserializeType() && getVectorMapOperatorReadType() == other.getVectorMapOperatorReadType() && getIsInputFileFormatSelfDescribing() == other.getIsInputFileFormatSelfDescribing() && Arrays.equals(getDataTypeInfos(), other.getDataTypeInfos()); } return false; }
VectorMapOperatorReadType old = vpart.getVectorMapOperatorReadType(); if (old != VectorMapOperatorReadType.VECTORIZED_INPUT_FILE_FORMAT) { if (LOG.isInfoEnabled()) {
vectorPartDesc.getVectorMapOperatorReadType();
VectorPartitionContext vectorPartitionContext; VectorMapOperatorReadType vectorMapOperatorReadType = vectorPartDesc.getVectorMapOperatorReadType();
currentReadType = vectorPartDesc.getVectorMapOperatorReadType();
PartitionDesc partDesc = currentVectorPartContext.getPartDesc(); VectorPartitionDesc vectorPartDesc = partDesc.getVectorPartitionDesc(); currentReadType = vectorPartDesc.getVectorMapOperatorReadType();