public interface ISchemaCursor
Modifier and Type | Field and Description |
---|---|
static int |
ERROR
Status "error".
|
static int |
LOCK
Status "do not update!".
|
static int |
READY
Status "ready".
|
static int |
RECOVER
Status "do update!".
|
static int |
UPGRADING
Status "in process of upgrading".
|
Modifier and Type | Method and Description |
---|---|
ICallContext |
callContext() |
void |
get(String name) |
String |
getChecksum()
Returns checksum of the schema cursor.
|
String |
getId()
Returns ID of the schema cursor.
|
Date |
getLastmodified()
Returns 'last modified' date of the schema cursor.
|
Integer |
getLength()
Returns length of the schema cursor.
|
Integer |
getState()
Returns state of the schema cursor.
|
String |
getVersion()
Returns version of the schema cursor.
|
void |
init() |
void |
insert() |
boolean |
nextInSet() |
ISchemaCursor |
setChecksum(String checksum)
Sets checksum to the schema cursor.
|
ISchemaCursor |
setId(String id)
Sets ID to the schema cursor.
|
ISchemaCursor |
setLastmodified(Date lastmodified)
Sets 'last modified' date to the schema cursor.
|
ISchemaCursor |
setLength(Integer length)
Sets length to the schema cursor.
|
ISchemaCursor |
setMessage(String message)
Sets message to the schema cursor.
|
ISchemaCursor |
setState(Integer state)
Sets state to the schema cursor.
|
ISchemaCursor |
setVersion(String version)
Sets version to the schema cursor.
|
void |
update() |
static final int READY
static final int UPGRADING
static final int ERROR
static final int RECOVER
static final int LOCK
ICallContext callContext()
ISchemaCursor setState(Integer state)
state
- stateISchemaCursor setChecksum(String checksum)
checksum
- checksumISchemaCursor setLength(Integer length)
length
- lengthDate getLastmodified()
ISchemaCursor setLastmodified(Date lastmodified)
lastmodified
- 'last modified' dateISchemaCursor setMessage(String message)
message
- messageISchemaCursor setVersion(String version)
version
- versionvoid update()
void get(String name)
void init()
ISchemaCursor setId(String id)
id
- IDString getId()
Integer getState()
String getVersion()
Integer getLength()
String getChecksum()
boolean nextInSet()
void insert()
Copyright © 2022 CURS. All rights reserved.