com.infoteria.asteria.flowlibrary2.stream
Class StreamDataRecordByList
java.lang.Object
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamDataObject
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamDataRecord
|
+--com.infoteria.asteria.flowlibrary2.stream.StreamDataRecordByList
- All Implemented Interfaces:
- RecordSet, Serializable
- public class StreamDataRecordByList
- extends StreamDataRecord
Recordストリームのjava.util.Listによる実装
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamDataRecordByList
public StreamDataRecordByList(List list)
- Listを引数にストリームを作成します。
引数のListはValue[]のリストでなければなりません。
StreamDataRecordByList
public StreamDataRecordByList(List list,
FieldDefinition fd)
- Listとフィールド定義を引数にストリームを作成します。
引数のListはValue[]のリストでなければなりません。
StreamDataRecordByList
public StreamDataRecordByList(StreamDataRecord stream)
throws StreamException
- 他のRecordストリームをコピーしてストリームを作成します。
StreamDataRecordByList
public StreamDataRecordByList(ResultSet rs,
FieldDefinition fd)
throws StreamException
- (スクロール不可能な)ResultSetを元に作成するコンストラクタ
引数のResultSetは先頭行にカーソルがある状態(つまり ResultSet#next()を一度だけ実行した状態)でないといけません。
StreamDataRecordByList
public StreamDataRecordByList(ResultSet rs,
FieldDefinition fd,
int start,
int cnt)
throws StreamException
- Deprecated.
- (スクロール不可能な)ResultSetの一部を元に作成するコンストラクタ
引数のResultSetは先頭行にカーソルがある状態(つまり ResultSet#next()を一度だけ実行した状態)でないといけません。
- Parameters:
start
- 作成するストリームに含める先頭行cnt
- 作成するストリームに含める行数
getRecord
public Record getRecord()
- Description copied from interface:
RecordSet
- Recordを取得します。
- Overrides:
getRecord
in class StreamDataRecord
getRecordCount
public int getRecordCount()
throws StreamException
- Description copied from interface:
RecordSet
- Record数を取得します。
- Overrides:
getRecordCount
in class StreamDataRecord