@Override
    protected List findUsingLucene(EntityMetadata m, Client client)
    {
        QueryTranslator translator = new QueryTranslator();
        translator.translate(getKunderaQuery(), m, true);
        List<Map<String, Object>> columns = translator.getColumnsToOutput(m, getKunderaQuery(), true);
        Object value = null;
        for (Object obj : getKunderaQuery().getFilterClauseQueue())
        {
            if (obj instanceof FilterClause)
            {
                value = ((FilterClause) obj).getValue().get(0);
            }
        }
        byte[] valueInBytes = HBaseUtils.getBytes(value,
                ((AbstractAttribute) m.getIdAttribute()).getBindableJavaType());
        return ((HBaseClient) client).findData(m, valueInBytes, null, null, columns, null);
    }
@ Override protected List findUsingLucene ( EntityMetadata m , Client client ) { QueryTranslator translator = new QueryTranslator ( ) ; translator . translate ( getKunderaQuery ( ) , m , true ) ; List < Map < String , Object > > columns = translator . getColumnsToOutput ( m , getKunderaQuery ( ) , true ) ; Object value = null ; for ( Object obj : getKunderaQuery ( ) . getFilterClauseQueue ( ) ) { if ( obj instanceof FilterClause ) { value = ( ( FilterClause ) obj ) . getValue ( ) . get ( 0 ) ; } } byte [ ] valueInBytes = HBaseUtils . getBytes ( value , ( ( AbstractAttribute ) m . getIdAttribute ( ) ) . getBindableJavaType ( ) ) ; return ( ( HBaseClient ) client ) . findData ( m , valueInBytes , null , null , columns , null ) ; }
/*
(non-Javadoc)

@see
com.impetus.kundera.query.QueryImpl#findUsingLucene(com.impetus.kundera
.metadata.model.EntityMetadata, com.impetus.kundera.client.Client)