gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GORA-299) o.a.g.cassandra.CassandraStore#newQuery() should not use query.setFields(getFieldsToQuery(null));
Date Wed, 05 Mar 2014 20:10:43 GMT

     [ https://issues.apache.org/jira/browse/GORA-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lewis John McGibbney updated GORA-299:
--------------------------------------

    Description: 
o.a.g.store.impl.DataStoreBase#getFieldsToQuery states

{code:title=DataStoreBase.java|borderStyle=solid}
/** Checks whether the fields argument is null, 
  * and if so returns all the fields of the Persistent object, 
  * else returns the argument.
  */
{code}

Right now we do not have the functionality to do field queries in CassandraStore so we need
to implement this. Hence the reason the following tests are skipped

{code:title=TestCassandraStore.java|borderStyle=solid}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQuery() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryStartKey() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryEndKey() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryKeyRange() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryWebPageSingleKey() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryWebPageSingleKeyDefaultFields() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryWebPageQueryEmptyResults() throws IOException {}
{code}

  was:
o.a.g.store.impl.DataStoreBase#getFieldsToQuery states

bq. Checks whether the fields argument is null, and if so returns all the fields of the Persistent
object, else returns the argument.

Right now we do not have the functionality to do field queries in CassandraStore so we need
to implement this. Hence the reason the following tests are skipped

{code: JavaScript}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQuery() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryStartKey() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryEndKey() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryKeyRange() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryWebPageSingleKey() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryWebPageSingleKeyDefaultFields() throws IOException {}
  @Ignore("skipped until some bugs are fixed")
  @Override
  public void testQueryWebPageQueryEmptyResults() throws IOException {}
{code}


> o.a.g.cassandra.CassandraStore#newQuery() should not use query.setFields(getFieldsToQuery(null));
> -------------------------------------------------------------------------------------------------
>
>                 Key: GORA-299
>                 URL: https://issues.apache.org/jira/browse/GORA-299
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-cassandra
>    Affects Versions: 0.3
>            Reporter: Lewis John McGibbney
>             Fix For: 0.5
>
>
> o.a.g.store.impl.DataStoreBase#getFieldsToQuery states
> {code:title=DataStoreBase.java|borderStyle=solid}
> /** Checks whether the fields argument is null, 
>   * and if so returns all the fields of the Persistent object, 
>   * else returns the argument.
>   */
> {code}
> Right now we do not have the functionality to do field queries in CassandraStore so we
need to implement this. Hence the reason the following tests are skipped
> {code:title=TestCassandraStore.java|borderStyle=solid}
>   @Ignore("skipped until some bugs are fixed")
>   @Override
>   public void testQuery() throws IOException {}
>   @Ignore("skipped until some bugs are fixed")
>   @Override
>   public void testQueryStartKey() throws IOException {}
>   @Ignore("skipped until some bugs are fixed")
>   @Override
>   public void testQueryEndKey() throws IOException {}
>   @Ignore("skipped until some bugs are fixed")
>   @Override
>   public void testQueryKeyRange() throws IOException {}
>   @Ignore("skipped until some bugs are fixed")
>   @Override
>   public void testQueryWebPageSingleKey() throws IOException {}
>   @Ignore("skipped until some bugs are fixed")
>   @Override
>   public void testQueryWebPageSingleKeyDefaultFields() throws IOException {}
>   @Ignore("skipped until some bugs are fixed")
>   @Override
>   public void testQueryWebPageQueryEmptyResults() throws IOException {}
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message