Modifier and Type | Method and Description |
---|---|
void |
JConnection.abortTransaction(java.lang.String transText)
Aborts the active transaction
|
void |
JDynArray.assign(JDynArray src)
Assigns the value of a dynamic array to this dynamic array
|
void |
JDynArray.assign(java.lang.String src)
Assigns a string value to this dynamic array
|
boolean |
JCapture.atEnd()
Indicates whether the captured output is exhausted
|
JCommon |
JConnection.attachCommon(int numVars,
java.lang.String name)
Attaches a common block by name with a given number of variables
|
boolean |
JSelectList.bol()
Indicates whether the select list is at its beginning
|
void |
JConnection.call(java.lang.String subName)
Calls a host-side subroutine passing it no parameters
|
void |
JConnection.call(java.lang.String subName,
JDynArray[] parms)
Calls a host-side subroutine with given parameters
|
void |
JConnection.call(java.lang.String subName,
java.lang.String[] parms)
Calls a host-side subroutine with given parameters
|
char |
JDynArray.charAt(int index)
Gets a character at a given position in the dynamic array
|
void |
JFile.clearFile()
Clears the file
|
void |
JSelectList.close()
Closes the select list and releases the server-side handle
|
void |
JIndex.close()
Closes the index and releases the server-side handle
|
void |
JFile.close()
Closes the file and releases the server-side handle
|
void |
JConnection.close()
Closes the connection and ends the server-side jRCS proxy process
|
void |
JCommon.close()
Closes the object and releases the server-side handle
|
void |
JCapture.close()
Closes the object and releases its server-side handle
|
int |
JDynArray.count(char delim)
Counts the number of given characters in this dynamic array
|
int |
JDynArray.count(java.lang.String delim)
Counts the number of given delimiters in this dynamic array
|
int |
JDynArray.dcount(char delim)
Counts the number of fields separated by the given character
|
int |
JDynArray.dcount(java.lang.String delim)
Counts the number of fields separated by the given delimiter
|
void |
JDynArray.delete(int amc)
Deletes the specified attribute
|
void |
JDynArray.delete(int amc,
int vmc)
Deletes the specified attribute or value
|
void |
JDynArray.delete(int amc,
int vmc,
int svmc)
Deletes the specified attribute, value or sub-value
|
void |
JFile.delete(java.lang.String key)
Deletes a record with the given key
|
void |
JConnection.deleteList(java.lang.String name)
Deletes the specified list from a work file
|
void |
JConnection.endTransaction(java.lang.String transName)
Ends the active transaction
|
boolean |
JSelectList.eol()
Indicates whether the select list is at its end
|
void |
JConnection.execute(java.lang.String command)
Executes a jCL/jQL command ignoring its results
|
JExecuteResults |
JConnection.execute(java.lang.String command,
int flags)
Executes a jCL/jQL command and retrieves select
parameters resulting from execution
|
JExecuteResults |
JConnection.execute(java.lang.String command,
int flags,
JSelectList passList)
Executes a jCL/jQL command optionally passing it a select list
and retrieves select parameters resulting from execution
|
JExecuteResults |
JConnection.executeAndStore(java.lang.String command,
int flags)
Executes a jCL/jQL command and retrieves select parameters resulting
from execution.
|
JExecuteResults |
JConnection.executeAndStore(java.lang.String command,
int flags,
JSelectList passList)
Executes a jCL/jQL command optionally passing it a select list
and retrieves select parameters resulting from execution.
|
JExecuteResults |
JConnection.executeAndStore(java.lang.String command,
int flags,
JSelectList passList,
int blockSize)
Executes a jCL/jQL command optionally passing it a select list
and retrieves select parameters resulting from execution.
|
java.lang.String |
JDynArray.extract(int amc)
Extracts the specified attribute as a string
|
java.lang.String |
JDynArray.extract(int amc,
int vmc)
Extracts the specified attribute or value as a string
|
java.lang.String |
JDynArray.extract(int amc,
int vmc,
int svmc)
Extracts the specified attribute, value or sub-value as a string
|
JDynArray |
JDynArray.extractDA(int amc)
Extracts the specified attribute as a dynamic array
|
JDynArray |
JDynArray.extractDA(int amc,
int vmc)
Extracts the specified attribute or value as a dynamic array
|
JDynArray |
JDynArray.extractDA(int amc,
int vmc,
int svmc)
Extracts the specified attribute, value or sub-value as a dynamic array
|
java.lang.String |
JDynArray.field(char delim,
int fieldNo)
Extracts the specified field separated by the given delimiter character
|
java.lang.String |
JDynArray.field(java.lang.String delim,
int fieldNo)
Extracts the specified field separated by the given delimiter string
|
int |
JCapture.getBlockSize()
Sets the block size for nextBlock operation
|
protected com.jbase.jrcs.JConnector |
JConnection.getConnector() |
JDynArray |
JCommon.getDA(int index)
Retrieves a dynamic array from a specific position in a common block
|
int |
JConnection.getDate()
Returns server date as an integer in internal format
|
JFile |
JCommon.getFile(int index)
Retrieves a file variable from a specific position in a common block
|
JDynArray |
JFile.getIndex(java.lang.String indexName)
Reads information about the specified index
|
java.lang.String |
JSelectList.getIndexKey()
Returns the index key
|
JDynArray |
JConnection.getjBaseVersion()
Retrieves the version of jBASE database connected to this
JConnection object
|
JSelectList |
JConnection.getList(java.lang.String name)
Retrieves the specified list from a work file
|
java.lang.String |
JConnection.getLocale()
Reserved for future use
|
java.lang.String |
JFile.getPath()
Retrieves the file path
|
int |
JConnection.getPort()
Returns the jBASE port number (PIB) assigned to the logged on
session
|
java.lang.String |
JSelectList.getRecordKey()
Retrieves the record key
|
java.lang.String |
JDynArray.getString()
Retrieves the content of the dynamic array as a string
|
int |
JConnection.getTime()
Retrieves the current server time as an integer in internal format
|
int |
JSelectList.getVMCount()
Retrieves the multi-value index for the current key
|
java.lang.String |
JConnection.iConv(java.lang.String source,
java.lang.String code)
Performs an input conversion of a string using a conversion code
|
void |
JDynArray.insert(JDynArray data,
int amc)
Inserts data from the given dynamic array into the specified
attribute
|
void |
JDynArray.insert(JDynArray data,
int amc,
int vmc)
Inserts data from the given dynamic array into the specified
attribute or value
|
void |
JDynArray.insert(JDynArray data,
int amc,
int vmc,
int svmc)
Inserts data from the given dynamic array into the specified
attribute, value or sub-value
|
void |
JDynArray.insert(java.lang.String data,
int amc)
Inserts string data into the specified attribute
|
void |
JDynArray.insert(java.lang.String data,
int amc,
int vmc)
Inserts string data into the specified
attribute or value
|
void |
JDynArray.insert(java.lang.String data,
int amc,
int vmc,
int svmc)
Inserts string data into the specified
attribute, value or sub-value
|
void |
JDynArray.insertDA(JDynArray data,
int amc)
Inserts data from the given dynamic array into the specified
attribute.
|
void |
JDynArray.insertDA(JDynArray data,
int amc,
int vmc)
Inserts data from the given dynamic array into the specified
attribute or value.
|
void |
JDynArray.insertDA(JDynArray data,
int amc,
int vmc,
int svmc)
Inserts data from the given dynamic array into the specified
attribute, value or sub-value.
|
boolean |
JSelectList.isIndex()
Indicates whether this select list was generated from a jBASE index
|
int |
JDynArray.length()
Returns the length, in characters, of a dynamic array
|
int |
JDynArray.locate(java.lang.String searchStr)
Searches for a string in all attributes of the dynamic array
|
int |
JDynArray.locate(java.lang.String searchStr,
int amc,
int vmc,
java.lang.String order)
Searches for a string in all sub-values within a given value of the dynamic array.
|
int |
JDynArray.locate(java.lang.String searchStr,
int amc,
int vmc,
java.lang.String order,
int start)
Similar to
JDynArray.locate(String, int, int, String) , but allows for a start position |
int |
JDynArray.locate(java.lang.String searchStr,
int amc,
java.lang.String order)
Searches for a string in all values within a given attribute of the dynamic array.
|
int |
JDynArray.locate(java.lang.String searchStr,
int amc,
java.lang.String order,
int start)
Similar to
JDynArray.locate(String, int, String) , but allows for a start position |
int |
JDynArray.locate(java.lang.String searchStr,
java.lang.String order)
Searches for a string in all attributes of the dynamic array, which is
in a given sort order
|
int |
JDynArray.locateIgnoreCase(java.lang.String searchStr)
Similar to
JDynArray.locate(String) , but performs a case-insensitive comparison |
int |
JDynArray.locateIgnoreCase(java.lang.String searchStr,
int amc,
int vmc,
java.lang.String order)
Similar to
JDynArray.locate(String, int, int, String) , but performs a case-insensitive comparison |
int |
JDynArray.locateIgnoreCase(java.lang.String searchStr,
int amc,
int vmc,
java.lang.String order,
int start)
Similar to
JDynArray.locate(String, int, int, String, int) , but performs a case-insensitive comparison |
int |
JDynArray.locateIgnoreCase(java.lang.String searchStr,
int amc,
java.lang.String order)
Similar to
JDynArray.locate(String, int, String) , but performs a case-insensitive comparison |
int |
JDynArray.locateIgnoreCase(java.lang.String searchStr,
int amc,
java.lang.String order,
int start)
Similar to
JDynArray.locate(String, int, String, int) , but performs a case-insensitive comparison |
int |
JDynArray.locateIgnoreCase(java.lang.String searchStr,
java.lang.String order)
Similar to
JDynArray.locate(String, String) , but performs a case-insensitive comparison |
java.lang.String |
JCapture.nextBlock()
Fetches next block of captured output
|
java.lang.String |
JConnection.oConv(java.lang.String source,
java.lang.String code)
Performs an output conversion of a string using a conversion code
|
void |
JConnection.open(java.lang.String host,
int port,
java.lang.String userName,
java.lang.String password,
java.lang.String accountName)
Opens a TCP/IP connection to the given host and port and
establishes a jRCS logon session with specified user name,
password and account name
|
void |
JConnection.open(java.lang.String host,
java.lang.String userName,
java.lang.String password)
Opens a TCP/IP connection to the given host and default jRCS port and
establishes a jRCS logon session with specified user name
and password
|
JFile |
JConnection.openFile(java.lang.String fileName)
Opens a file with the given name
|
JIndex |
JFile.openIndex(java.lang.String indexName)
Opens a named index on this file
|
JDynArray |
JFile.read(java.lang.String key)
Reads a record from the file without locking
|
JDynArray |
JFile.read(java.lang.String key,
boolean locked)
Reads a record from the file, optionally locking it
|
JDynArray |
JFile.read(java.lang.String key,
boolean locked,
boolean wait)
Reads a record from the file, optionally locking it and waiting for the lock
|
JDynArray |
JFile.readNamedField(java.lang.String key,
java.lang.String field)
Reads a named field from a file record
|
JDynArray |
JFile.readNamedField(java.lang.String key,
java.lang.String field,
boolean locked)
Reads a named field from a file record, optionally locking the record
|
JDynArray |
JFile.readNamedField(java.lang.String key,
java.lang.String field,
boolean locked,
boolean wait)
Reads a named field from a file record, optionally locking the record
|
java.lang.String |
JSelectList.readNext()
Reads the next key from the select list
|
JDynArray |
JFile.readV(java.lang.String key,
int attrib)
Reads an attribute from a file record without locking
|
JDynArray |
JFile.readV(java.lang.String key,
int attrib,
boolean locked)
Reads an attribute from a file record, optionally locking the record
|
JDynArray |
JFile.readV(java.lang.String key,
int attrib,
boolean locked,
boolean wait)
Reads an attribute from a file record, optionally locking the record
and waiting for the lock
|
void |
JFile.release(java.lang.String key)
Releases a lock on a file record
|
void |
JFile.releaseAll()
Releases all locks held by the current session on the given file
|
void |
JDynArray.replace(JDynArray data,
int amc)
Replaces the given attribute
with the content of specified dynamic array
|
void |
JDynArray.replace(JDynArray data,
int amc,
int vmc)
Replaces the given attribute or value
with the content of specified dynamic array
|
void |
JDynArray.replace(JDynArray data,
int amc,
int vmc,
int svmc)
Replaces the given attribute, value or sub-value
with the content of specified dynamic array
|
void |
JDynArray.replace(java.lang.String data,
int amc)
Replaces the given attribute
with specified string
|
void |
JDynArray.replace(java.lang.String data,
int amc,
int vmc)
Replaces the given attribute or value
with specified string
|
void |
JDynArray.replace(java.lang.String data,
int amc,
int vmc,
int svmc)
Replaces the given attribute, value or sub-value
with specified string
|
void |
JDynArray.replaceDA(JDynArray data,
int amc)
Replaces the given attribute
with the content of specified dynamic array
Same as replace(JDynArray, amc)
|
void |
JDynArray.replaceDA(JDynArray data,
int amc,
int vmc)
Replaces the given attribute or value
with the content of specified dynamic array
Same as replace(JDynArray, amc, vmc)
|
void |
JDynArray.replaceDA(JDynArray data,
int amc,
int vmc,
int svmc)
Replaces the given attribute, value or sub-value
with the content of specified dynamic array.
|
void |
JCapture.rewind()
Returns the current position in the saved output to the beginning
of the output stream
|
void |
JSelectList.saveList(java.lang.String listName)
Saves the list under the specified name in a work file
|
JSelectList |
JIndex.select()
Generates a select list from this index variable
|
JSelectList |
JFile.select()
Selects all keys in the file in hash order
|
void |
JCapture.setBlockSize(int blockSize)
Gets the block size for the nextBlock method
|
void |
JDynArray.setCharAt(int index,
char newChar)
Sets a character at a given location in the dynamic array
|
void |
JCommon.setDA(int index,
JDynArray dynArray)
Stores a dynamic array into a specific position in a common block
|
void |
JConnection.setDataEncryptionLevel(int dataEncryptionLevel)
Sets the current data encryption level.
|
void |
JCommon.setFile(int index,
JFile file)
Stores a file variable into a specific position in a common block
|
void |
JConnection.setPasswordEncryptionLevel(int passwordEncryptionLevel)
Sets the current password encryption level.
|
JSelectList |
JFile.sselect()
Selects all keys in the file in ascending sorted order
|
void |
JConnection.startTransaction(boolean sync,
java.lang.String transText)
Starts a transaction
|
protected static void |
JException.throwWithCode(int code) |
void |
JFile.write(java.lang.String key,
JDynArray data)
Writes a record to the file releasing the lock if there is one
|
void |
JFile.write(java.lang.String key,
JDynArray data,
boolean unlock)
Writes a record to the file optionally releasing the lock
|
void |
JFile.writeNamedField(java.lang.String key,
java.lang.String field,
JDynArray data)
Writes a named record field to the file
|
void |
JFile.writeNamedField(java.lang.String key,
java.lang.String field,
JDynArray data,
boolean unlock)
Writes a named record field to the file optionally releasing the lock
|
void |
JFile.writeV(java.lang.String key,
JDynArray data,
int attrib)
Writes a record attribute to the file releasing the lock if there is one
|
void |
JFile.writeV(java.lang.String key,
JDynArray data,
int attrib,
boolean unlock)
Writes a record attribute to the file optionally releasing the lock
|
Constructor and Description |
---|
JDynArray()
Default constructor
|
JDynArray(JDynArray src)
Constructs a dynamic array from another dynamic array
|
JDynArray(java.lang.String src)
Constructs a dynamic array from a string
|