@@ -0,0 +1,1450 @@
+/*%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.facebook.presto.server.thrift;%0A%0Aimport com.facebook.drift.annotations.ThriftConstructor;%0Aimport com.facebook.drift.annotations.ThriftField;%0Aimport com.facebook.drift.annotations.ThriftStruct;%0A%0Aimport static java.util.Objects.requireNonNull;%0A%0A/**%0A * Any is used for the serde of Connector specific types.%0A * %3Cp%3E%0A * Any wraps the type information in an id field along%0A * with the serialized form of the object in a byte array.%0A */%0A@ThriftStruct%0Apublic class Any%0A%7B%0A    private final String id;%0A    private final byte%5B%5D bytes;%0A%0A    @ThriftConstructor%0A    public Any(String id, byte%5B%5D bytes)%0A    %7B%0A        this.id = requireNonNull(id, %22id is null%22);%0A        this.bytes = requireNonNull(bytes, %22bytes is null%22);%0A    %7D%0A%0A    @ThriftField(1)%0A    public String getId()%0A    %7B%0A        return id;%0A    %7D%0A%0A    @ThriftField(2)%0A    public byte%5B%5D getBytes()%0A    %7B%0A        return bytes;%0A    %7D%0A%7D%0A

Add Any type