cz.proto.HashJoin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: operator.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.HashJoin}
*/
public final class HashJoin extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.HashJoin)
HashJoinOrBuilder {
private static final long serialVersionUID = 0L;
// Use HashJoin.newBuilder() to construct.
private HashJoin(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HashJoin() {
probeOperatorId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HashJoin();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HashJoin(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cz.proto.LogicalJoin.Builder subBuilder = null;
if (join_ != null) {
subBuilder = join_.toBuilder();
}
join_ = input.readMessage(cz.proto.LogicalJoin.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(join_);
join_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
probeOperatorId_ = s;
break;
}
case 24: {
broadcast_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_HashJoin_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_HashJoin_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.HashJoin.class, cz.proto.HashJoin.Builder.class);
}
public static final int JOIN_FIELD_NUMBER = 1;
private cz.proto.LogicalJoin join_;
/**
* .cz.proto.LogicalJoin join = 1;
* @return Whether the join field is set.
*/
@java.lang.Override
public boolean hasJoin() {
return join_ != null;
}
/**
* .cz.proto.LogicalJoin join = 1;
* @return The join.
*/
@java.lang.Override
public cz.proto.LogicalJoin getJoin() {
return join_ == null ? cz.proto.LogicalJoin.getDefaultInstance() : join_;
}
/**
* .cz.proto.LogicalJoin join = 1;
*/
@java.lang.Override
public cz.proto.LogicalJoinOrBuilder getJoinOrBuilder() {
return getJoin();
}
public static final int PROBE_OPERATOR_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object probeOperatorId_;
/**
* string probe_operator_id = 2;
* @return The probeOperatorId.
*/
@java.lang.Override
public java.lang.String getProbeOperatorId() {
java.lang.Object ref = probeOperatorId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
probeOperatorId_ = s;
return s;
}
}
/**
* string probe_operator_id = 2;
* @return The bytes for probeOperatorId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProbeOperatorIdBytes() {
java.lang.Object ref = probeOperatorId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
probeOperatorId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BROADCAST_FIELD_NUMBER = 3;
private boolean broadcast_;
/**
* bool broadcast = 3;
* @return The broadcast.
*/
@java.lang.Override
public boolean getBroadcast() {
return broadcast_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (join_ != null) {
output.writeMessage(1, getJoin());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(probeOperatorId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, probeOperatorId_);
}
if (broadcast_ != false) {
output.writeBool(3, broadcast_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (join_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getJoin());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(probeOperatorId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, probeOperatorId_);
}
if (broadcast_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, broadcast_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof cz.proto.HashJoin)) {
return super.equals(obj);
}
cz.proto.HashJoin other = (cz.proto.HashJoin) obj;
if (hasJoin() != other.hasJoin()) return false;
if (hasJoin()) {
if (!getJoin()
.equals(other.getJoin())) return false;
}
if (!getProbeOperatorId()
.equals(other.getProbeOperatorId())) return false;
if (getBroadcast()
!= other.getBroadcast()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasJoin()) {
hash = (37 * hash) + JOIN_FIELD_NUMBER;
hash = (53 * hash) + getJoin().hashCode();
}
hash = (37 * hash) + PROBE_OPERATOR_ID_FIELD_NUMBER;
hash = (53 * hash) + getProbeOperatorId().hashCode();
hash = (37 * hash) + BROADCAST_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getBroadcast());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.HashJoin parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.HashJoin parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.HashJoin parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.HashJoin parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.HashJoin parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.HashJoin parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.HashJoin parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.HashJoin parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.HashJoin parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.HashJoin parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static cz.proto.HashJoin parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.HashJoin parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(cz.proto.HashJoin prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code cz.proto.HashJoin}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.HashJoin)
cz.proto.HashJoinOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_HashJoin_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_HashJoin_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.HashJoin.class, cz.proto.HashJoin.Builder.class);
}
// Construct using cz.proto.HashJoin.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (joinBuilder_ == null) {
join_ = null;
} else {
join_ = null;
joinBuilder_ = null;
}
probeOperatorId_ = "";
broadcast_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.OperatorProto.internal_static_cz_proto_HashJoin_descriptor;
}
@java.lang.Override
public cz.proto.HashJoin getDefaultInstanceForType() {
return cz.proto.HashJoin.getDefaultInstance();
}
@java.lang.Override
public cz.proto.HashJoin build() {
cz.proto.HashJoin result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.HashJoin buildPartial() {
cz.proto.HashJoin result = new cz.proto.HashJoin(this);
if (joinBuilder_ == null) {
result.join_ = join_;
} else {
result.join_ = joinBuilder_.build();
}
result.probeOperatorId_ = probeOperatorId_;
result.broadcast_ = broadcast_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.HashJoin) {
return mergeFrom((cz.proto.HashJoin)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.HashJoin other) {
if (other == cz.proto.HashJoin.getDefaultInstance()) return this;
if (other.hasJoin()) {
mergeJoin(other.getJoin());
}
if (!other.getProbeOperatorId().isEmpty()) {
probeOperatorId_ = other.probeOperatorId_;
onChanged();
}
if (other.getBroadcast() != false) {
setBroadcast(other.getBroadcast());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.HashJoin parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.HashJoin) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cz.proto.LogicalJoin join_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.LogicalJoin, cz.proto.LogicalJoin.Builder, cz.proto.LogicalJoinOrBuilder> joinBuilder_;
/**
* .cz.proto.LogicalJoin join = 1;
* @return Whether the join field is set.
*/
public boolean hasJoin() {
return joinBuilder_ != null || join_ != null;
}
/**
* .cz.proto.LogicalJoin join = 1;
* @return The join.
*/
public cz.proto.LogicalJoin getJoin() {
if (joinBuilder_ == null) {
return join_ == null ? cz.proto.LogicalJoin.getDefaultInstance() : join_;
} else {
return joinBuilder_.getMessage();
}
}
/**
* .cz.proto.LogicalJoin join = 1;
*/
public Builder setJoin(cz.proto.LogicalJoin value) {
if (joinBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
join_ = value;
onChanged();
} else {
joinBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.LogicalJoin join = 1;
*/
public Builder setJoin(
cz.proto.LogicalJoin.Builder builderForValue) {
if (joinBuilder_ == null) {
join_ = builderForValue.build();
onChanged();
} else {
joinBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.LogicalJoin join = 1;
*/
public Builder mergeJoin(cz.proto.LogicalJoin value) {
if (joinBuilder_ == null) {
if (join_ != null) {
join_ =
cz.proto.LogicalJoin.newBuilder(join_).mergeFrom(value).buildPartial();
} else {
join_ = value;
}
onChanged();
} else {
joinBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.LogicalJoin join = 1;
*/
public Builder clearJoin() {
if (joinBuilder_ == null) {
join_ = null;
onChanged();
} else {
join_ = null;
joinBuilder_ = null;
}
return this;
}
/**
* .cz.proto.LogicalJoin join = 1;
*/
public cz.proto.LogicalJoin.Builder getJoinBuilder() {
onChanged();
return getJoinFieldBuilder().getBuilder();
}
/**
* .cz.proto.LogicalJoin join = 1;
*/
public cz.proto.LogicalJoinOrBuilder getJoinOrBuilder() {
if (joinBuilder_ != null) {
return joinBuilder_.getMessageOrBuilder();
} else {
return join_ == null ?
cz.proto.LogicalJoin.getDefaultInstance() : join_;
}
}
/**
* .cz.proto.LogicalJoin join = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.LogicalJoin, cz.proto.LogicalJoin.Builder, cz.proto.LogicalJoinOrBuilder>
getJoinFieldBuilder() {
if (joinBuilder_ == null) {
joinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.LogicalJoin, cz.proto.LogicalJoin.Builder, cz.proto.LogicalJoinOrBuilder>(
getJoin(),
getParentForChildren(),
isClean());
join_ = null;
}
return joinBuilder_;
}
private java.lang.Object probeOperatorId_ = "";
/**
* string probe_operator_id = 2;
* @return The probeOperatorId.
*/
public java.lang.String getProbeOperatorId() {
java.lang.Object ref = probeOperatorId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
probeOperatorId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string probe_operator_id = 2;
* @return The bytes for probeOperatorId.
*/
public com.google.protobuf.ByteString
getProbeOperatorIdBytes() {
java.lang.Object ref = probeOperatorId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
probeOperatorId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string probe_operator_id = 2;
* @param value The probeOperatorId to set.
* @return This builder for chaining.
*/
public Builder setProbeOperatorId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
probeOperatorId_ = value;
onChanged();
return this;
}
/**
* string probe_operator_id = 2;
* @return This builder for chaining.
*/
public Builder clearProbeOperatorId() {
probeOperatorId_ = getDefaultInstance().getProbeOperatorId();
onChanged();
return this;
}
/**
* string probe_operator_id = 2;
* @param value The bytes for probeOperatorId to set.
* @return This builder for chaining.
*/
public Builder setProbeOperatorIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
probeOperatorId_ = value;
onChanged();
return this;
}
private boolean broadcast_ ;
/**
* bool broadcast = 3;
* @return The broadcast.
*/
@java.lang.Override
public boolean getBroadcast() {
return broadcast_;
}
/**
* bool broadcast = 3;
* @param value The broadcast to set.
* @return This builder for chaining.
*/
public Builder setBroadcast(boolean value) {
broadcast_ = value;
onChanged();
return this;
}
/**
* bool broadcast = 3;
* @return This builder for chaining.
*/
public Builder clearBroadcast() {
broadcast_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:cz.proto.HashJoin)
}
// @@protoc_insertion_point(class_scope:cz.proto.HashJoin)
private static final cz.proto.HashJoin DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.HashJoin();
}
public static cz.proto.HashJoin getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public HashJoin parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HashJoin(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public cz.proto.HashJoin getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy