public abstract class NameUpdate extends Update implements Comparable<NameUpdate>
Modifier and Type | Method and Description |
---|---|
abstract void |
apply()
Applies this operation.
|
int |
compareTo(NameUpdate o) |
void |
databases(StringList db)
Adds all databases to be updated to the specified list.
|
void |
merge(Update update)
Merges two update operations pointing to the same target.
|
String |
name()
Returns the name of the database.
|
protected abstract String |
operation()
Returns an info string.
|
abstract void |
prepare()
Prepares this operation.
|
int |
size()
Returns the number of update operations.
|
public abstract void prepare() throws QueryException
QueryException
- exceptionpublic abstract void apply() throws QueryException
QueryException
- exceptionprotected abstract String operation()
public void merge(Update update) throws QueryException
Update
merge
in class Update
update
- operation to merge withQueryException
- exceptionpublic void databases(StringList db)
db
- databasespublic String name()
public final int size()
Update
public final int compareTo(NameUpdate o)
compareTo
in interface Comparable<NameUpdate>
Copyright © 2005–2015 BaseX Team. All rights reserved.