Problem with record variant filter

7 views
Skip to first unread message

Александр Окунев

unread,
Nov 19, 2014, 3:06:23 AM11/19/14
to lily-d...@googlegroups.com
Hello

I tried to scan table than consists of records with the same record type. All record ids have variants, so i need to filter records using variants. The following scan doesn't return any records nut it throws exception java.io.IOException: java.io.IOException: java.lang.IllegalArgumentException: Zero-length record id is not allowed. But it's impossible

curl -X POST 'http://b1.node.nevod.ru:12060/repository/table/Apmmic/scan' -H 'Content-Type: application/json' -d '
{
   "recordFilter": {
      "@class": "org.lilyproject.repository.api.filter.RecordVariantFilter",
      "recordId": "USER.Adaline",
      "variantProperties":{"d":null,"m1":null}
   }
}' -D -


Reply all
Reply to author
Forward
0 new messages