private static <S extends IScheme> S scheme(org.apache.thrift.protocol.TProtocol proto) { return (StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme(); }
/** * Scheme accessor */ public Class<? extends IScheme> getScheme() { return StandardScheme.class; }
@Override public Class<? extends IScheme> getScheme() { return TupleScheme.class; }
@Override @SuppressWarnings("rawtypes") public Class<? extends IScheme> getScheme() { return StandardScheme.class; }