Package com.socrata.model.search

Examples of com.socrata.model.search.SearchClause$QuerySearch


    {
        final HttpLowLevel connection = connect();
        final SodaImporter importer = new SodaImporter(connection);


        final SearchClause    nameClause = new SearchClause.NameSearch("TestUpdate");
        final SearchClause    tagClause = new SearchClause.TagSearch("test");
        final SearchClause    metadataClause = new SearchClause.MetadataSearch("Tests", "value", "testUpdateMetadata");


        final SearchResults results1 =  importer.searchViews(nameClause);
        TestCase.assertEquals(1, results1.getCount());
        TestCase.assertEquals("TestUpdate", results1.getResults().get(0).getDataset().getName());
View Full Code Here

TOP

Related Classes of com.socrata.model.search.SearchClause$QuerySearch

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.