|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tensegrity.palojava.http.handlers.HttpHandler
com.tensegrity.palojava.http.handlers.HttpCubeHandler
public class HttpCubeHandler
This HttpHandler
is used for dealing with requests concerning
palo Cube
s.
Constructor Summary | |
---|---|
HttpCubeHandler(HttpClient client)
Creates a new HttpCubeHandler instance. |
Method Summary | |
---|---|
boolean |
createCube(java.lang.String dbName,
java.lang.String cubeName,
java.lang.String dimNames)
Creates the specified cube |
boolean |
deleteCube(java.lang.String dbName,
java.lang.String cubeName)
Deletes the specified cube from its database |
java.lang.String[] |
getDimensions(java.lang.String dbName,
java.lang.String cubeName)
Returns the names of the dimensions which build up the specified cube |
java.lang.String[] |
getInfos(java.lang.String dbName,
java.lang.String cubeName)
Returns information about the dimension. |
boolean |
loadCube(java.lang.String dbName,
java.lang.String cubeName)
Loads the specified cube |
boolean |
saveCube(java.lang.String dbName,
java.lang.String cubeName)
Saves the specified cube |
boolean |
unloadCube(java.lang.String dbName,
java.lang.String cubeName)
Unloads the specified cube |
Methods inherited from class com.tensegrity.palojava.http.handlers.HttpHandler |
---|
setSID |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpCubeHandler(HttpClient client)
HttpCubeHandler
instance. Requires a
HttpClient
for delegating all requests to the connected
palo server.
client
- the connection to the palo serverMethod Detail |
---|
public final java.lang.String[] getInfos(java.lang.String dbName, java.lang.String cubeName) throws java.io.IOException
dbName
- a valid database namecubeName
- a valid cube name
String
array containing information about the
cube
java.io.IOException
- if an I/O exception occurspublic final java.lang.String[] getDimensions(java.lang.String dbName, java.lang.String cubeName) throws java.io.IOException
dbName
- a valid database namecubeName
- the name of the cube
String
array containing the dimension names
java.io.IOException
- if an I/O exception occurspublic final boolean createCube(java.lang.String dbName, java.lang.String cubeName, java.lang.String dimNames) throws java.io.IOException
dbName
- a valid database namecubeName
- a valid cube namedimNames
- comma separated names of the dimensions which build
up the cube
java.io.IOException
- if an I/O exception occurspublic final boolean deleteCube(java.lang.String dbName, java.lang.String cubeName) throws java.io.IOException
dbName
- a valid database namecubeName
- a valid cube name
java.io.IOException
- if an I/O exception occurspublic final boolean loadCube(java.lang.String dbName, java.lang.String cubeName) throws java.io.IOException
dbName
- a valid database namecubeName
- a valid cube name
java.io.IOException
- if an I/O exception occurspublic final boolean unloadCube(java.lang.String dbName, java.lang.String cubeName) throws java.io.IOException
dbName
- a valid database namecubeName
- a valid cube name
java.io.IOException
- if an I/O exception occurspublic final boolean saveCube(java.lang.String dbName, java.lang.String cubeName) throws java.io.IOException
dbName
- a valid database namecubeName
- a valid cube name
java.io.IOException
- if an I/O exception occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |