public abstract class StringQuerySerializer extends Object
Constructor and Description |
---|
StringQuerySerializer() |
Modifier and Type | Method and Description |
---|---|
abstract String |
serialize(AskQuery askQuery)
|
abstract String |
serialize(ConstructQuery constructQuery)
Serializes a
ConstructQuery object to a String . |
abstract String |
serialize(DescribeQuery describeQuery)
Serializes a
DescribeQuery object to a String . |
String |
serialize(Query query)
|
abstract String |
serialize(SelectQuery selectQuery)
Serializes a
SelectQuery object to a String . |
public String serialize(Query query)
query
- the Query object to be serializedpublic abstract String serialize(SelectQuery selectQuery)
SelectQuery
object to a String
.selectQuery
- the SelectQuery object to be serializedpublic abstract String serialize(ConstructQuery constructQuery)
ConstructQuery
object to a String
.constructQuery
- the ConstructQuery object to be serializedpublic abstract String serialize(DescribeQuery describeQuery)
DescribeQuery
object to a String
.describeQuery
- the DescribeQuery object to be serializedCopyright © 2015–2022 The Apache Software Foundation. All rights reserved.