4849505152535455
@Inject private CassandraSessionImpl session; private QueryService get() { CassandraVersion ver = session.getCassandraVersion(); QueryService instance = ver == CassandraVersion.VER_2_x ? defaultQs : fallbackQs; return instance; }