|
| 1 | +// Generated by dts-bundle v0.7.3 |
| 2 | +// Dependencies for this module: |
| 3 | +// ../sparqljs |
| 4 | + |
| 5 | +import{Query,Pattern,Expression,FilterPattern,BgpPattern,GraphPattern,GroupPattern,OperationExpression,Triple,Term,PropertyPath,SparqlGenerator}from'sparqljs'; |
| 6 | +import{SelectQuery,Ordering,Variable}from'sparqljs'; |
| 7 | +import{DescribeQuery}from'sparqljs'; |
| 8 | + |
| 9 | +exportclassQueryBuilder{ |
| 10 | +constructor(query:Query); |
| 11 | +staticfromString(queryString:string,prefixes?:{ |
| 12 | +[prefix:string]:string; |
| 13 | +}|undefined,baseIRI?:string|undefined):QueryBuilder; |
| 14 | +where(pattern:Pattern):QueryBuilder; |
| 15 | +bgpTriples(triples:Triple[]):QueryBuilder; |
| 16 | +bgpTriple(triple:Triple):QueryBuilder; |
| 17 | +protectedgetQuery():Query; |
| 18 | +protectedgetGenerator():SparqlGenerator; |
| 19 | +build():Query; |
| 20 | +toString():string; |
| 21 | +staticvar(varName:string):Term; |
| 22 | +staticliteral(value:string):Term; |
| 23 | +statictypedLiteral(value:string,datatype:string):Term; |
| 24 | +staticuri(value:string):Term; |
| 25 | +statictriple(subject:Term,predicate:PropertyPath|Term,object:Term):Triple; |
| 26 | +staticbgp(triples:Triple[]):BgpPattern; |
| 27 | +staticgraph(name:string,patterns:Pattern[]):GraphPattern; |
| 28 | +staticgroup(patterns:Pattern[]):GroupPattern; |
| 29 | +staticfilter(expression:Expression):FilterPattern; |
| 30 | +staticoperation(operator:string,args:Expression[]):OperationExpression; |
| 31 | +staticin(varName:string,list:Term[]):OperationExpression; |
| 32 | +staticregex(varName:string,pattern:string,caseInsensitive?:boolean):OperationExpression; |
| 33 | +} |
| 34 | + |
| 35 | +exportclassSelectBuilderextendsQueryBuilder{ |
| 36 | +constructor(select:SelectQuery); |
| 37 | +staticfromString(queryString:string,prefixes?:{ |
| 38 | +[prefix:string]:string; |
| 39 | +}|undefined,baseIRI?:string|undefined):SelectBuilder; |
| 40 | +projectAll():SelectBuilder; |
| 41 | +projection(variables:Variable[]):SelectBuilder; |
| 42 | +project(term:Term):SelectBuilder; |
| 43 | +isProjected(term:Term):boolean; |
| 44 | +orderBy(ordering:Ordering):SelectBuilder; |
| 45 | +offset(offset:number):SelectBuilder; |
| 46 | +limit(limit:number):SelectBuilder; |
| 47 | +protectedgetQuery():SelectQuery; |
| 48 | +build():SelectQuery; |
| 49 | +staticordering(expr:Expression,desc?:boolean):Ordering; |
| 50 | +} |
| 51 | + |
| 52 | +exportclassDescribeBuilderextendsQueryBuilder{ |
| 53 | +constructor(describe:DescribeQuery); |
| 54 | +staticfromString(queryString:string,prefixes?:{ |
| 55 | +[prefix:string]:string; |
| 56 | +}|undefined,baseIRI?:string|undefined):DescribeBuilder; |
| 57 | +staticnew():DescribeBuilder; |
| 58 | +projectAll():DescribeBuilder; |
| 59 | +projection(variables:Variable[]):DescribeBuilder; |
| 60 | +project(term:Term):DescribeBuilder; |
| 61 | +isProjected(term:Term):boolean; |
| 62 | +protectedgetQuery():DescribeQuery; |
| 63 | +build():DescribeQuery; |
| 64 | +} |
| 65 | + |