Examples of tables()


Examples of com.google.api.services.bigquery.Bigquery.tables()

      // we aren't appending the timestamps so delete the old tables if
      // they exist
      for (String kind : exporterConfig.getEntityKindsToExport()) {
        boolean found = true;
        try {
          bigquery.tables().get(exporterConfig.getBigqueryProjectId(), exporterConfig.getBigqueryDatasetId(), kind).execute();
        }
        catch (IOException e) {
          // table not found so don't need to do anything
          found = false;
        }
View Full Code Here

Examples of com.google.api.services.bigquery.Bigquery.tables()

          // table not found so don't need to do anything
          found = false;
        }

        if (found) {
          bigquery.tables().delete(exporterConfig.getBigqueryProjectId(), exporterConfig.getBigqueryDatasetId(), kind).execute();
        }
      }
    }

    // now create the ingestion
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.algebra.Relation.tables()

  }

  public void testAskMatch() {
    NodeRelation nodeRel = translate1("ex:res1 rdf:type ex:Class1", "engine/type-bridge.n3");
    Relation r = nodeRel.baseRelation();
    assertEquals(Collections.singleton(table1), r.tables());
    assertEquals(Collections.EMPTY_SET, r.projections());
    assertEquals(Equality.createAttributeValue(table1id, "1"), r.condition());
    assertEquals(AliasMap.NO_ALIASES, r.aliases());
    assertEquals(Collections.EMPTY_SET, nodeRel.variables());
  }
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.algebra.Relation.tables()

  }
 
  public void testFindFixedMatch() {
    NodeRelation nodeRel = translate1("ex:res1 rdf:type ?type", "engine/type-bridge.n3");
    Relation r = nodeRel.baseRelation();
    assertEquals(Collections.singleton(table1), r.tables());
    assertEquals(Collections.EMPTY_SET, r.projections());
    assertEquals(Equality.createAttributeValue(table1id, "1"), r.condition());
    assertEquals(AliasMap.NO_ALIASES, r.aliases());
    assertEquals(Collections.singleton(type), nodeRel.variables());
    assertEquals("Fixed(<http://example.org/Class1>)",
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.algebra.Relation.tables()

  }
 
  public void testFindMatch() {
    NodeRelation nodeRel = translate1("?x rdf:type ex:Class1", "engine/type-bridge.n3");
    Relation r = nodeRel.baseRelation();
    assertEquals(Collections.singleton(table1), r.tables());
    assertEquals(Collections.singleton(table1id), r.projections());
    assertEquals(Expression.TRUE, r.condition());
    assertEquals(AliasMap.NO_ALIASES, r.aliases());
    assertEquals(Collections.singleton(x), nodeRel.variables());
    assertEquals("URI(Pattern(http://example.org/res@@table1.id@@))",
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.algebra.Relation.tables()

  }
 
  public void testConstraintInTripleMatch() {
    NodeRelation nodeRel = translate1("?x rdf:type ?x", "engine/object-uricolumn.n3");
    Relation r = nodeRel.baseRelation();
    assertEquals(Collections.singleton(table1), r.tables());
    assertTrue(r.condition() instanceof Equality)// Too lazy to check both sides
    assertEquals(AliasMap.NO_ALIASES, r.aliases());
    assertEquals(Collections.singleton(x), nodeRel.variables());
  }
View Full Code Here

Examples of jimm.datavision.source.DataSource.tables()

    final TreeSet noTableCols = new TreeSet(nameComparator);

    // Walk data source's list of tables. If there are no tables for the
    // data source, then instead add all columns to the noTableCols set.
    DataSource source = report.getDataSource();
    Iterator iter = source.tables();
    if (iter != null) {
  while (iter.hasNext())
      tables.add(iter.next());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.