be.SIRAPRISE.messages
Class ExecuteQueryMessageType

java.lang.Object
  extended by be.SIRAPRISE.messages.ServerMessageType
      extended by be.SIRAPRISE.messages.ServerInputMessageType
          extended by be.SIRAPRISE.messages.ExecuteQueryMessageType
All Implemented Interfaces:
ExecuteDMLMessageTypesV14
Direct Known Subclasses:
ExecuteQueryMessageTypeV1_0

public abstract class ExecuteQueryMessageType
extends ServerInputMessageType
implements ExecuteDMLMessageTypesV14

The ExecuteQueryMessageType is the message type sent by a client to a server when that client wants to execute some Query on the server

Since:
SIRA_PRISE 1.4
Author:
Erwin Smout

Field Summary
static int MESSAGETYPEID
          Comment for MESSAGETYPEID
 
Method Summary
abstract  ExecuteQueryMessage message(java.lang.String query, java.util.List<java.lang.String> orderByAttributeNames)
          Factory method for producing a message of this type holding the given Query command
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface be.SIRAPRISE.messages.ExecuteDMLMessageTypesV14
message
 

Field Detail

MESSAGETYPEID

public static final int MESSAGETYPEID
Comment for MESSAGETYPEID

See Also:
Constant Field Values
Method Detail

message

public abstract ExecuteQueryMessage message(java.lang.String query,
                                            java.util.List<java.lang.String> orderByAttributeNames)
Factory method for producing a message of this type holding the given Query command

Parameters:
query - The SIRA_PRISE Query command to be evaluated by/on the server
orderByAttributeNames - The list of attribute names by which the result is to be ordered. Can be the empty array.
Returns:
ExecuteQueryMessage