public class Sql
extends Base
SqlStats web service.
The schema that defines the Sql resource is defined below.
<xs:element name="Scalar" type="ScalarType"/>
<xs:complexType name="ScalarType">
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="StringListScalar" type="StringListScalarType"/>
<xs:complexType name="StringListScalarType">
<xs:complexContent>
<xs:extension base="ScalarType">
<xs:sequence>
<xs:element name="Value" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
| Constructor and Description |
|---|
Sql() |
| Modifier and Type | Method and Description |
|---|---|
StringListScalarType |
getDatabases(javax.servlet.http.HttpServletRequest request,
java.lang.String errorType)
GET /rest/Sql
|
StringListScalarType |
getDataColumns(javax.servlet.http.HttpServletRequest request,
java.lang.String database,
java.lang.String tableName,
java.lang.String errorType)
GET /rest/Sql/DataColumns/{database}/{table}
|
StringListScalarType |
getDataSources(javax.servlet.http.HttpServletRequest request,
java.lang.String database,
java.lang.String errorType)
GET /rest/Sql/Tables/{database}
|
public StringListScalarType getDatabases(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String errorType)
Get the list of SQL database names on the system. These names are the list of valid values to use for the
{database} path element for the /rest/SqlStats web services.
Response Entity type: <xs:element name="StringListScalarType">
SqlStatspublic StringListScalarType getDataSources(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String database,
java.lang.String errorType)
Get the list of SQL database table names for a SQL database on the system. These names are the list of valid values
to use for the {table} path element for the /rest/SqlStats web services, in conjunction with this
{database} path element.
Response Entity type: <xs:element name="StringListScalarType">
SqlStatspublic StringListScalarType getDataColumns(@Context
javax.servlet.http.HttpServletRequest request,
java.lang.String database,
java.lang.String tableName,
java.lang.String errorType)
Get the list of SQL column names for a SQL database/table on the system. Each column represents a named data series. These
names are the list of valid values to use for the {series} path element for the /rest/SqlStats web services,
in conjunction with this {database} path element.
Response Entity type: <xs:element name="StringListScalarType">
SqlStatsCopyright © 2011-2023 Quantum Corporation. All Rights Reserved.