/** * <code>optional .PartitionMethodProto partition = 2;</code> */ public Builder mergePartition(org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto value) { if (partitionBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && partition_ != org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto.getDefaultInstance()) { partition_ = org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto.newBuilder(partition_).mergeFrom(value).buildPartial(); } else { partition_ = value; } onChanged(); } else { partitionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
pstmt.setString(2, table.getPartition().getPartitionType().name()); pstmt.setString(3, table.getPartition().getExpression()); pstmt.setBytes(4, table.getPartition().getExpressionSchema().toByteArray()); pstmt.executeUpdate();
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + getState().hashCode(); } if (hasPartition()) { hash = (37 * hash) + PARTITION_FIELD_NUMBER; hash = (53 * hash) + getPartition().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = partition_.toBuilder();
pstmt.setString(2, table.getPartition().getPartitionType().name()); pstmt.setString(3, table.getPartition().getExpression()); pstmt.setBytes(4, table.getPartition().getExpressionSchema().toByteArray()); pstmt.executeUpdate();
org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = partition_.toBuilder();
org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = partition_.toBuilder();
.getExpressionSchema().getFieldsList(), request.getAlgebra());
org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = partition_.toBuilder();
parititonColumns = tableDesc.getPartition().getExpressionSchema().getFieldsList();
org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = partition_.toBuilder();
if (hasPartition()) { result = result && getPartition() .equals(other.getPartition());
if (hasPartition()) { result = result && getPartition() .equals(other.getPartition());
hash = (53 * hash) + getPartition().hashCode();
if (hasPartition()) { result = result && getPartition() .equals(other.getPartition());
if (!getPartition().isInitialized()) { memoizedIsInitialized = 0; return false;
if (!getPartition().isInitialized()) { memoizedIsInitialized = 0; return false;
hash = (53 * hash) + getPartition().hashCode();
if (!getPartition().isInitialized()) { memoizedIsInitialized = 0; return false;
hash = (53 * hash) + getPartition().hashCode();