Package | Description |
---|---|
com.ibm.as400.access |
Provides classes that represent various IBM i data and resources.
|
com.ibm.as400.data |
Provides classes to simplify calling IBM i programs (RPG, COBOL, C, etc) from Java.
|
Modifier and Type | Method | Description |
---|---|---|
Record |
RecordFormat.getNewRecord() |
Returns a new record based on this record format, which contains default values for the
contents of the fields.
|
Record |
RecordFormat.getNewRecord(byte[] contents) |
Returns a new record based on this record format, which contains data from
the specified byte array.
|
Record |
RecordFormat.getNewRecord(byte[] contents,
int offset) |
Returns a new record based on this record format, which contains data from
the specified byte array.
|
Record |
RecordFormat.getNewRecord(byte[] contents,
int offset,
String recordName) |
Returns a new record based on this record format, which contains data from
the specified byte array.
|
Record |
RecordFormat.getNewRecord(byte[] contents,
String recordName) |
Returns a new record based on this record format, which contains data from
the specified byte array.
|
Record |
RecordFormat.getNewRecord(String recordName) |
Returns a new record based on this record format, which contains default values for the
contents of the fields.
|
Record |
AS400File.read() |
Reads the record at the current cursor position.
|
Record |
KeyedFile.read(byte[] key,
int numberOfKeyFields) |
Reads the first record with the specified key.
|
Record |
KeyedFile.read(byte[] key,
int searchType,
int numberOfKeyFields) |
Reads the first record meeting the specified search criteria based on
key.
|
Record |
KeyedFile.read(Object[] key) |
Reads the first record with the specified key.
|
Record |
KeyedFile.read(Object[] key,
int searchType) |
Reads the first record meeting the specified search criteria based on
key.
|
Record |
SequentialFile.read(int recordNumber) |
Reads the record with the specified record number.
|
Record |
KeyedFile.readAfter(byte[] key,
int numberOfKeyFields) |
Reads the first record after the record with the specified key.
|
Record |
KeyedFile.readAfter(Object[] key) |
Reads the first record after the record with the specified key.
|
Record |
SequentialFile.readAfter(int recordNumber) |
Reads the first record after the record with the specified record number.
|
abstract Record[] |
AS400File.readAll() |
Reads all the records in the file.
|
Record[] |
KeyedFile.readAll() |
Reads all the records in the file.
|
Record[] |
SequentialFile.readAll() |
Reads all the records in the file.
|
Record |
KeyedFile.readBefore(byte[] key,
int numberOfKeyFields) |
Reads the first record before the record with the specified key.
|
Record |
KeyedFile.readBefore(Object[] key) |
Reads the first record before the record with the specified key.
|
Record |
SequentialFile.readBefore(int recordNumber) |
Reads the first record before the record with the specified record number.
|
Record |
AS400File.readFirst() |
Reads the first record in the file.
|
Record |
AS400File.readLast() |
Reads the last record in the file.
|
Record |
AS400File.readNext() |
Reads the next record in the file from the current cursor position.
|
Record |
KeyedFile.readNextEqual() |
Reads the next record whose key matches the full key of the current record.
|
Record |
KeyedFile.readNextEqual(byte[] key,
int numberOfKeyFields) |
Reads the next record whose key matches the specified key.
|
Record |
KeyedFile.readNextEqual(Object[] key) |
Reads the next record whose key matches the specified key.
|
Record |
AS400File.readPrevious() |
Reads the previous record in the file from the current cursor position.
|
Record |
KeyedFile.readPreviousEqual() |
Reads the previous record whose key matches the key of the current record.
|
Record |
KeyedFile.readPreviousEqual(byte[] key,
int numberOfKeyFields) |
Reads the previous record whose key matches the specified key.
|
Record |
KeyedFile.readPreviousEqual(Object[] key) |
Reads the previous record whose key matches the specified key.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AS400File.update(Record record) |
Updates the record at the current cursor position.
|
void |
KeyedFile.update(byte[] key,
Record record,
int numberOfKeyFields) |
Updates the record specified by key.
|
void |
KeyedFile.update(byte[] key,
Record record,
int searchType,
int numberOfKeyFields) |
Updates the first record meeting the specified search criteria based on
key.
|
void |
KeyedFile.update(Object[] key,
Record record) |
Updates the record specified by key.
|
void |
KeyedFile.update(Object[] key,
Record record,
int searchType) |
Updates the first record meeting the specified search criteria based on
key.
|
void |
SequentialFile.update(int recordNumber,
Record record) |
Updates the record at the position specified by the record number.
|
void |
AS400File.write(Record record) |
Writes a record to the file.
|
void |
AS400File.write(Record[] records) |
Writes an array of records to the file.
|
void |
LineDataRecordWriter.writeRecord(Record record) |
Writes the record data, in line data format, to an OutputStream.
|
Modifier and Type | Method | Description |
---|---|---|
Record |
RecordFormatDocument.toRecord(String formatName) |
Returns a Record object with the same structure and data as the specified
<recordformat> element. |
Modifier and Type | Method | Description |
---|---|---|
void |
RecordFormatDocument.setValues(String formatName,
Record record) |
Sets the Java object values for the specified
<recordformat> element, based on the values stored in the record object passed into the method. |
Constructor | Description |
---|---|
RecordFormatDocument(Record record) |
Constructs a RecordFormatDocument from a Record object.
|
Copyright © 2024. All rights reserved.