Public Member Functions | |
boolean | deleteActionRecipe (String uid) |
boolean | deleteEnvironment (String uid) |
boolean | deleteEnvironmentBinaryFile (String uid, String filename) |
boolean | deleteObject (String uid) |
boolean | deleteObjectBinaryFile (String uid, String filename) |
String | queryActionRecipeDB (String seRQLquery) |
String | queryEnvironmentDB (String seRQLquery) |
String | queryObjectDB (String seRQLquery) |
ArrayList< byte[]> | request2dMap (String envUid, OWLOntology srdl, String baseScannerLink, String simpleMapNameWithoutExt) |
String | requestActionRecipe (String uid) |
String | requestEnvironment (String uid, ArrayList< String > outFilenames, ArrayList< String > outFileURLs) |
File | requestEnvironmentBinaryFile (String envUID, String filename, String targetPath) |
byte[] | requestEnvironmentBinaryFile (String envUID, String filename) |
String | requestObject (String uid, ArrayList< String > outFilenames, ArrayList< String > outFileURLs) |
File | requestObjectBinaryFile (String objectUID, String filename, String targetPath) |
byte[] | requestObjectBinaryFile (String objectUID, String filename) |
ArrayList< byte[]> | requestProjected2dMap (String envUid, double minZ, double maxZ, String simpleMapNameWithoutExt) |
String | requestRobot (String uid) |
String[] | searchActionRecipes (String searchID, ArrayList< String > outUIDs) |
String[] | searchEnvironments (String searchID, ArrayList< String > outUIDs, ArrayList< ArrayList< String >> outFilenames, ArrayList< ArrayList< String >> outFileURLs) |
String[] | searchObjects (String searchID, ArrayList< String > outUIDs, ArrayList< ArrayList< String >> outFilenames, ArrayList< ArrayList< String >> outFileURLs) |
boolean | submitActionRecipe (OWLOntology actionRecipe, String cls, String id, String description) |
boolean | submitActionRecipe (String actionRecipe, String cls, String id, String description) |
boolean | submitEnvironment (OWLOntology env, String cls, String id, String description) |
boolean | submitEnvironment (OWLOntology env, String cls, String id, String description, ArrayList< File > binaryFiles) |
boolean | submitEnvironment (OWLOntology env, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames) |
boolean | submitEnvironment (String env, String cls, String id, String description) |
boolean | submitEnvironment (String env, String cls, String id, String description, ArrayList< File > binaryFiles) |
boolean | submitEnvironment (String env, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames) |
boolean | submitEnvironmentBinaryFile (String uid, File file) |
boolean | submitEnvironmentBinaryFile (String uid, byte[] data, String filename) |
boolean | submitObject (OWLOntology objectOwl, String cls, String id, String description) |
boolean | submitObject (String objectOwl, String cls, String id, String description) |
boolean | submitObject (OWLOntology objectOwl, String cls, String id, String description, ArrayList< File > binaryFiles) |
boolean | submitObject (String objectOwl, String cls, String id, String description, ArrayList< File > binaryFiles) |
boolean | submitObject (OWLOntology objectOwl, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames) |
boolean | submitObject (String objectOwl, String cls, String id, String description, ArrayList< byte[]> binaryData, ArrayList< String > filenames) |
boolean | submitObjectBinaryFile (String uid, File file) |
boolean | submitObjectBinaryFile (String uid, byte[] data, String filename) |
boolean | updateActionRecipe (String uid, OWLOntology actionRecipe, String description) |
boolean | updateActionRecipe (String uid, String actionRecipe, String description) |
boolean | updateEnvironment (String uid, OWLOntology env, String description) |
boolean | updateEnvironment (String uid, String env, String description) |
boolean | updateEnvironmentBinaryFile (String uid, File file) |
boolean | updateEnvironmentBinaryFile (String uid, byte[] data, String filename) |
boolean | updateObject (String uid, OWLOntology objectOwl, String description) |
boolean | updateObject (String uid, String objectOwl, String description) |
boolean | updateObjectBinaryFile (String uid, File file) |
boolean | updateObjectBinaryFile (String uid, byte[] data, String filename) |
Definition at line 58 of file REInterface.java.
boolean roboearth.wp5.conn.REInterface.deleteActionRecipe | ( | String | uid | ) |
Deletes an action recipe from the RoboEarth DB.
uid | the action recipe's unique identifier |
true
- if the recipe was successfully deletedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.deleteEnvironment | ( | String | uid | ) |
Deletes an environment from the RoboEarth DB.
uid | the environment's unique identifier |
true
- if the environment was successfully deletedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.deleteEnvironmentBinaryFile | ( | String | uid, |
String | filename | ||
) |
Deletes a binary file which is related to the specified environment description.
uid | the environment's unique identifier |
filename | the unique filename (among all files related to the specified environment) |
true
- if the file was successfully deletedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.deleteObject | ( | String | uid | ) |
Deletes an object description from the RoboEarth DB. All linked binary files get deleted, too.
uid | the object's unique identifier |
true
- if the object description was successfully deletedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.deleteObjectBinaryFile | ( | String | uid, |
String | filename | ||
) |
Deletes a binary file which is related to the specified object description.
uid | the object's unique identifier |
filename | the unique filename (among all files related to the specified object) |
true
- if the file was successfully deletedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
String roboearth.wp5.conn.REInterface.queryActionRecipeDB | ( | String | seRQLquery | ) |
Sends the given SeRQL query to the RoboEarth DB and retrieves the result of the server-side reasoning on action recipes.
seRQLquery | a SeRQL query |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
String roboearth.wp5.conn.REInterface.queryEnvironmentDB | ( | String | seRQLquery | ) |
Sends the given SeRQL query to the RoboEarth DB and retrieves the result of the server-side reasoning on environments.
seRQLquery | a SeRQL query |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
String roboearth.wp5.conn.REInterface.queryObjectDB | ( | String | seRQLquery | ) |
Sends the given SeRQL query to the RoboEarth DB and retrieves the result of the server-side reasoning on objects.
seRQLquery | a SeRQL query |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
ArrayList<byte[]> roboearth.wp5.conn.REInterface.request2dMap | ( | String | envUid, |
OWLOntology | srdl, | ||
String | baseScannerLink, | ||
String | simpleMapNameWithoutExt | ||
) |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
String roboearth.wp5.conn.REInterface.requestActionRecipe | ( | String | uid | ) |
Requests an action recipe.
uid | the action recipe's unique identifier |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
String roboearth.wp5.conn.REInterface.requestEnvironment | ( | String | uid, |
ArrayList< String > | outFilenames, | ||
ArrayList< String > | outFileURLs | ||
) |
Requests a description of an environment. The names and URLs of binary files related to the given uid will be put into the given lists. Any element that might be in the lists before the method call will be removed first. Both list parameters may be null. In this case only the OWL encoded description is requested.
uid | the environment's identifier |
outFilenames | this list will be used to return the names of associated files |
outFileURLs | this list will be used to return the URLs of associated files |
Implemented in roboearth.wp5.conn.REConnectionMySQL, and roboearth.wp5.conn.REConnectionHadoop.
File roboearth.wp5.conn.REInterface.requestEnvironmentBinaryFile | ( | String | envUID, |
String | filename, | ||
String | targetPath | ||
) |
Requests an environment related binary file.
envUID | the environment's ID the file is related to |
filename | the unique filename (among all files related to the specified environment) |
targetPath | the path where the file shall be stored |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
byte [] roboearth.wp5.conn.REInterface.requestEnvironmentBinaryFile | ( | String | envUID, |
String | filename | ||
) |
Requests an environment related binary file.
envUID | the environment's ID the file is related to |
filename | the unique filename (among all files related to the specified environment) |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
String roboearth.wp5.conn.REInterface.requestObject | ( | String | uid, |
ArrayList< String > | outFilenames, | ||
ArrayList< String > | outFileURLs | ||
) |
Requests information about an object. The names and URLs of binary files related to the given uid will be put into the given lists. Any element that might be in the lists before the method call will be removed first. Both list parameters may be null. In this case only the OWL encoded description is requested.
uid | the object's unique identifier |
outFilenames | this list will be used to return the names of associated files |
outFileURLs | this list will be used to return the URLs of associated files |
Implemented in roboearth.wp5.conn.REConnectionMySQL, and roboearth.wp5.conn.REConnectionHadoop.
File roboearth.wp5.conn.REInterface.requestObjectBinaryFile | ( | String | objectUID, |
String | filename, | ||
String | targetPath | ||
) |
Requests an object related binary file.
objectUID | the object's ID the file is related to |
filename | the unique filename (among all files related to the specified object) |
targetPath | the path where the file shall be stored |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
byte [] roboearth.wp5.conn.REInterface.requestObjectBinaryFile | ( | String | objectUID, |
String | filename | ||
) |
Requests an object related binary file.
objectUID | the object's ID the file is related to |
filename | the unique filename (among all files related to the specified object) |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
ArrayList<byte[]> roboearth.wp5.conn.REInterface.requestProjected2dMap | ( | String | envUid, |
double | minZ, | ||
double | maxZ, | ||
String | simpleMapNameWithoutExt | ||
) |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
String roboearth.wp5.conn.REInterface.requestRobot | ( | String | uid | ) |
Requests a robot description.
uid | the robot's unique identifier |
Implemented in roboearth.wp5.conn.REConnectionMySQL, and roboearth.wp5.conn.REConnectionHadoop.
String [] roboearth.wp5.conn.REInterface.searchActionRecipes | ( | String | searchID, |
ArrayList< String > | outUIDs | ||
) |
Searches for action recipes whose uid starts with the given search string.
searchID | any prefix of an uid |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
String [] roboearth.wp5.conn.REInterface.searchEnvironments | ( | String | searchID, |
ArrayList< String > | outUIDs, | ||
ArrayList< ArrayList< String >> | outFilenames, | ||
ArrayList< ArrayList< String >> | outFileURLs | ||
) |
Searches for environments whose uid starts with the given search string.
searchID | any prefix of an uid |
outFilenames | this list of lists will be used to return for every uid found the names of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method. |
outFileURLs | this list of lists will be used to return for every uid found the URLs of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method. |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
String [] roboearth.wp5.conn.REInterface.searchObjects | ( | String | searchID, |
ArrayList< String > | outUIDs, | ||
ArrayList< ArrayList< String >> | outFilenames, | ||
ArrayList< ArrayList< String >> | outFileURLs | ||
) |
Searches for object descriptions whose uid starts with the given search string.
searchID | any prefix of an uid |
outUIDs | this list will be used to return the UIDs of all found objects |
outFilenames | this list of lists will be used to return for every uid found the names of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method. |
outFileURLs | this list of lists will be used to return for every uid found the URLs of associated files. The first dimension's index corresponds to the index of the related owl description in the array that is returned by this method. |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitActionRecipe | ( | OWLOntology | actionRecipe, |
String | cls, | ||
String | id, | ||
String | description | ||
) |
Submits an action recipe to the RoboEarth DB.
actionRecipe | OWLOntology object containing the action recipe |
cls | the class the action recipe belongs to |
id | the action recipe's identifier |
description | a natural language description of the recipe's functionality |
true
- if submission was successfully completedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitActionRecipe | ( | String | actionRecipe, |
String | cls, | ||
String | id, | ||
String | description | ||
) |
Submits an action recipe to the RoboEarth DB.
actionRecipe | String containing the action recipe |
cls | the class the action recipe belongs to |
id | the action recipe's identifier |
description | a natural language description of the recipe's functionality |
true
- if submission was successfully completedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitEnvironment | ( | OWLOntology | env, |
String | cls, | ||
String | id, | ||
String | description | ||
) |
Submits a description of an environment to the RoboEarth DB.
env | OWLOntology object containing the environment's description |
cls | the class the environment belongs to |
id | the environment's identifier |
description | a natural language description of the environment |
true
- if submission was successfully completedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitEnvironment | ( | OWLOntology | env, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< File > | binaryFiles | ||
) |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitEnvironment | ( | OWLOntology | env, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< byte[]> | binaryData, | ||
ArrayList< String > | filenames | ||
) |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitEnvironment | ( | String | env, |
String | cls, | ||
String | id, | ||
String | description | ||
) |
Submits a description of an environment to the RoboEarth DB.
env | String containing the environment's description |
cls | the class the environment belongs to |
id | the environment's identifier |
description | a natural language description of the environment |
true
- if submission was successfully completedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitEnvironment | ( | String | env, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< File > | binaryFiles | ||
) |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitEnvironment | ( | String | env, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< byte[]> | binaryData, | ||
ArrayList< String > | filenames | ||
) |
Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitEnvironmentBinaryFile | ( | String | uid, |
File | file | ||
) |
Implemented in roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitEnvironmentBinaryFile | ( | String | uid, |
byte[] | data, | ||
String | filename | ||
) |
Implemented in roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitObject | ( | OWLOntology | objectOwl, |
String | cls, | ||
String | id, | ||
String | description | ||
) |
Submits an object's description to the RoboEarth DB.
object_owl | OWLOntology object containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
true
- if submission was successfully completedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitObject | ( | String | objectOwl, |
String | cls, | ||
String | id, | ||
String | description | ||
) |
Submits an object's description to the RoboEarth DB.
object_owl | String containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
true
- if submission was successfully completedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitObject | ( | OWLOntology | objectOwl, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< File > | binaryFiles | ||
) |
Submits an object's description to the RoboEarth DB. The given binary files, related to the object description, will be stored in the RoboEarthDB as well.
objectOwl | OWLOntology object containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
binaryFiles | object related binary files |
true
- if submission was successfully completedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitObject | ( | String | objectOwl, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< File > | binaryFiles | ||
) |
Submits an object's description to the RoboEarth DB. The given binary files, related to the object description, will be stored in the RoboEarthDB as well.
objectOwl | String containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
binaryFiles | object related binary files |
true
- if submission was successfully completedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitObject | ( | OWLOntology | objectOwl, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< byte[]> | binaryData, | ||
ArrayList< String > | filenames | ||
) |
Submits an object's description to the RoboEarth DB. The given binary data, related to the object description, will be stored in the RoboEarthDB as well.
objectOwl | OWLOntology object containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
binaryData | the content of the files in byte arrays |
filenames | the unique filenames (among all files related to the specified object) |
true
- if submission was successfully completedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitObject | ( | String | objectOwl, |
String | cls, | ||
String | id, | ||
String | description, | ||
ArrayList< byte[]> | binaryData, | ||
ArrayList< String > | filenames | ||
) |
Submits an object's description to the RoboEarth DB. The given binary data, related to the object description, will be stored in the RoboEarthDB as well.
objectOwl | String containing the object's description |
cls | the class the object belongs to |
id | the object's identifier |
description | a natural language description of the object |
binaryData | the content of the files in byte arrays |
filenames | the unique filenames (among all files related to the specified object) |
true
- if submission was successfully completedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitObjectBinaryFile | ( | String | uid, |
File | file | ||
) |
Submits a binary file (related to the resource specified by the given object UID) to the RoboEarth DB. The filename must be unique among all files related to the same object uid.
uid | the unique identifier of the resource the given binary file is linked with |
file | file to submit |
true
if binary file was submitted successfully, false
otherwise Implemented in roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.submitObjectBinaryFile | ( | String | uid, |
byte[] | data, | ||
String | filename | ||
) |
Submits a binary file (related to the resource specified by the given object UID) to the RoboEarth DB. The filename must be unique among all files related to the same object uid.
uid | the unique identifier of the resource the given binary file is linked with |
data | the content of the file in a byte array |
filename | the unique filename (among all files related to the specified object) |
true
if binary file was submitted successfully, false
otherwise Implemented in roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.updateActionRecipe | ( | String | uid, |
OWLOntology | actionRecipe, | ||
String | description | ||
) |
Updates the action recipe specified by the parameter uid with the given OWL and natural language descriptions.
uid | the action recipe's unique identifier |
actionRecipe | OWLOntology object containing the action recipe |
description | a natural language description of the recipe's functionality |
true
- if the recipe was successfully updatedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.updateActionRecipe | ( | String | uid, |
String | actionRecipe, | ||
String | description | ||
) |
Updates the action recipe specified by the parameter uid with the given OWL and natural language descriptions.
uid | the action recipe's unique identifier |
actionRecipe | String containing the action recipe |
description | a natural language description of the recipe's functionality |
true
- if the recipe was successfully updatedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.updateEnvironment | ( | String | uid, |
OWLOntology | env, | ||
String | description | ||
) |
Updates the environment specified by the parameter uid with the given OWL and natural language descriptions.
uid | the environment's unique identifier |
env | OWLOntology object containing the environment's description |
description | a natural language description of the environment |
true
- if the environment was successfully updatedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.updateEnvironment | ( | String | uid, |
String | env, | ||
String | description | ||
) |
Updates the environment specified by the parameter uid with the given OWL and natural language descriptions.
uid | the environment's unique identifier |
env | String containing the environment's description |
description | a natural language description of the environment |
true
- if the environment was successfully updatedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.updateEnvironmentBinaryFile | ( | String | uid, |
File | file | ||
) |
Updates (replaces) the specified environment related binary file with the given file.
uid | the environment's unique identifier |
true
- if the file was successfully updatedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.updateEnvironmentBinaryFile | ( | String | uid, |
byte[] | data, | ||
String | filename | ||
) |
Updates (replaces) the specified environment related binary file with the content of the given byte array.
uid | the environment's unique identifier |
data | the content of the file in a byte array |
filename | the unique filename (among all files related to the specified environment) |
true
- if the file was successfully updatedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.updateObject | ( | String | uid, |
OWLOntology | objectOwl, | ||
String | description | ||
) |
Updates the object specified by the parameter uid with the given OWL and natural language descriptions.
uid | the object's unique identifier |
objectOwl | OWLOntology object containing the object's description |
description | a natural language description of the object |
true
- if the object was successfully updatedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.updateObject | ( | String | uid, |
String | objectOwl, | ||
String | description | ||
) |
Updates the object specified by the parameter uid with the given OWL and natural language descriptions.
uid | the object's unique identifier |
objectOwl | String containing the object's description |
description | a natural language description of the object |
true
- if the object was successfully updatedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.updateObjectBinaryFile | ( | String | uid, |
File | file | ||
) |
Updates (replaces) the specified object related binary file with the given file.
uid | the object's unique identifier |
true
- if the file was successfully updatedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.
boolean roboearth.wp5.conn.REInterface.updateObjectBinaryFile | ( | String | uid, |
byte[] | data, | ||
String | filename | ||
) |
Updates (replaces) the specified object related binary file with the content of the given byte array.
uid | the object's unique identifier |
data | the content of the file in a byte array |
filename | the unique filename (among all files related to the specified object) |
true
- if the file was successfully updatedfalse
- otherwise Implemented in roboearth.wp5.conn.REConnectionHadoop, and roboearth.wp5.conn.REConnectionMySQL.