wt.pds
Interface ArrayChunkProcessor

All Known Implementing Classes:
ArrayExpression, SourceIdJoinCondition

public interface ArrayChunkProcessor

This interface provides the abstraction for processing a large array of values in chunks.

Supported API: false

Extendable: false


Field Summary
static String CHUNK_COUNT
          Label for the attribute; Number of chunks for this array.
static String CHUNK_SIZE
          Label for the attribute; Size of each individual chunk for this array.
static String SIZE
          Label for the attribute; Size of the array to be chunked.
 
Method Summary
 List getChunkBindParameters(int a_sqlIndex)
          This method returns a list of values to be used as bind parameters for an individual chunk.
 int getChunkCount()
          Gets the value of the attribute: CHUNK_COUNT.
 int getChunkSize()
          Gets the value of the attribute: CHUNK_SIZE.
 int getSize()
          Gets the value of the attribute: SIZE.
 void setChunkSize(int a_ChunkSize)
          Sets the value of the attribute: CHUNK_SIZE.
 

Field Detail

SIZE

public static final String SIZE
Label for the attribute; Size of the array to be chunked.

Supported API: false

See Also:
Constant Field Values

CHUNK_COUNT

public static final String CHUNK_COUNT
Label for the attribute; Number of chunks for this array.

Supported API: false

See Also:
Constant Field Values

CHUNK_SIZE

public static final String CHUNK_SIZE
Label for the attribute; Size of each individual chunk for this array.

Supported API: false

See Also:
Constant Field Values
Method Detail

getSize

public int getSize()
Gets the value of the attribute: SIZE. Size of the array to be chunked.

Supported API: false

Returns:
int

getChunkCount

public int getChunkCount()
Gets the value of the attribute: CHUNK_COUNT. Number of chunks for this array.

Supported API: false

Returns:
int

getChunkSize

public int getChunkSize()
Gets the value of the attribute: CHUNK_SIZE. Size of each individual chunk for this array.

Supported API: false

Returns:
int

setChunkSize

public void setChunkSize(int a_ChunkSize)
                  throws WTPropertyVetoException
Sets the value of the attribute: CHUNK_SIZE. Size of each individual chunk for this array.

Supported API: false

Parameters:
a_ChunkSize -
Throws:
WTPropertyVetoException

getChunkBindParameters

public List getChunkBindParameters(int a_sqlIndex)
                            throws WTException
This method returns a list of values to be used as bind parameters for an individual chunk.

Supported API: false

Parameters:
a_sqlIndex - Index of the SQL statement for this chunk.
Returns:
List
Throws:
WTException