public class SimpleSparqlUnit extends Object implements SparqlUnit
Constructor and Description |
---|
SimpleSparqlUnit(Query query) |
SimpleSparqlUnit(Update update) |
public SimpleSparqlUnit(Query query)
public SimpleSparqlUnit(Update update)
public boolean isQuery()
isQuery
in interface SparqlUnit
Query
, false if it is an Update
public Query getQuery()
getQuery
in interface SparqlUnit
Query
, null otherwisepublic Update getUpdate()
getUpdate
in interface SparqlUnit
Update
, null otherwiseCopyright © 2015–2022 The Apache Software Foundation. All rights reserved.