break; case 8: builder.addConvertSupport(input.mergeObject(org.apache.drill.exec.proto.UserProtos.ConvertSupport.newBuilder(), org.apache.drill.exec.proto.SchemaUserProtos.ConvertSupport.MERGE));
public Builder toBuilder() { return newBuilder(this); }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.drill.exec.proto.UserProtos.ConvertSupport prototype) {
private static final Iterable<ConvertSupport> getSupportedConvertOps() { // A set would be more appropriate but it's not possible to produce // duplicates, and an iterable is all we need. ImmutableList.Builder<ConvertSupport> supportedConvertedOps = ImmutableList.builder(); for(MinorType from: MinorType.values()) { for(MinorType to: MinorType.values()) { if (TypeCastRules.isCastable(from, to)) { supportedConvertedOps.add(ConvertSupport.newBuilder().setFrom(from).setTo(to).build()); } } } return supportedConvertedOps.build(); } /**
public org.apache.drill.exec.proto.UserProtos.ConvertSupport.Builder newMessage() { return org.apache.drill.exec.proto.UserProtos.ConvertSupport.newBuilder(); } public java.lang.String getFieldName(int number)
public static Builder newBuilder(org.apache.drill.exec.proto.UserProtos.ConvertSupport prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
break; case 8: builder.addConvertSupport(input.mergeObject(org.apache.drill.exec.proto.UserProtos.ConvertSupport.newBuilder(), org.apache.drill.exec.proto.SchemaUserProtos.ConvertSupport.MERGE));
public Builder toBuilder() { return newBuilder(this); }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.drill.exec.proto.UserProtos.ConvertSupport prototype) {
public static Builder newBuilder(org.apache.drill.exec.proto.UserProtos.ConvertSupport prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public org.apache.drill.exec.proto.UserProtos.ConvertSupport.Builder newMessage() { return org.apache.drill.exec.proto.UserProtos.ConvertSupport.newBuilder(); } public java.lang.String getFieldName(int number)