| /** |
| * Autogenerated by Thrift Compiler (0.9.0) |
| * |
| * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING |
| * @generated |
| */ |
| package org.apache.sentry.service.thrift; |
| |
| import org.apache.commons.lang.builder.HashCodeBuilder; |
| import org.apache.thrift.scheme.IScheme; |
| import org.apache.thrift.scheme.SchemeFactory; |
| import org.apache.thrift.scheme.StandardScheme; |
| |
| import org.apache.thrift.scheme.TupleScheme; |
| import org.apache.thrift.protocol.TTupleProtocol; |
| import org.apache.thrift.protocol.TProtocolException; |
| import org.apache.thrift.EncodingUtils; |
| import org.apache.thrift.TException; |
| import java.util.List; |
| import java.util.ArrayList; |
| import java.util.Map; |
| import java.util.HashMap; |
| import java.util.EnumMap; |
| import java.util.Set; |
| import java.util.HashSet; |
| import java.util.EnumSet; |
| import java.util.Collections; |
| import java.util.BitSet; |
| import java.nio.ByteBuffer; |
| import java.util.Arrays; |
| import org.slf4j.Logger; |
| import org.slf4j.LoggerFactory; |
| |
| public class sentry_common_serviceConstants { |
| |
| public static final int TSENTRY_SERVICE_V1 = 1; |
| |
| public static final int TSENTRY_STATUS_OK = 0; |
| |
| public static final int TSENTRY_STATUS_ALREADY_EXISTS = 1; |
| |
| public static final int TSENTRY_STATUS_NO_SUCH_OBJECT = 2; |
| |
| public static final int TSENTRY_STATUS_RUNTIME_ERROR = 3; |
| |
| public static final int TSENTRY_STATUS_INVALID_INPUT = 4; |
| |
| } |