public class TileDBObject
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
|
TileDBObject(Context ctx,
java.lang.String uri)
Constructs an object that contains the type along with the URI.
|
protected |
TileDBObject(Context ctx,
java.lang.String uri,
TileDBObjectType type) |
Modifier and Type | Method and Description |
---|---|
TileDBObjectType |
getType()
Returns the object type.
|
java.lang.String |
getUri()
Returns the object Uri String.
|
static void |
move(Context ctx,
java.lang.String old_uri,
java.lang.String new_uri)
Moves/renames a tiledb object.
|
static void |
remove(Context ctx,
java.lang.String uri)
Deletes a TileDB object.
|
java.lang.String |
toString()
Returns a string representation of the object, including its type and URI.
|
public TileDBObject(Context ctx, java.lang.String uri) throws TileDBError
ctx
- The TileDB contexturi
- The path to the object.TileDBError
- A TileDB exceptionprotected TileDBObject(Context ctx, java.lang.String uri, TileDBObjectType type)
public static void remove(Context ctx, java.lang.String uri) throws TileDBError
ctx
- The TileDB contexturi
- The path to the object to be deleted.TileDBError
- A TileDB exceptionpublic static void move(Context ctx, java.lang.String old_uri, java.lang.String new_uri) throws TileDBError
ctx
- The TileDB context.old_uri
- The path to the old object.new_uri
- The path to the new object.TileDBError
- A TileDB exceptionpublic java.lang.String toString()
toString
in class java.lang.Object
public TileDBObjectType getType()
public java.lang.String getUri()