Package cern.nxcals.api.extraction.thin
Interface AvroQueryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AvroQuery
,AvroQuery.Builder
public interface AvroQueryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AvroQuery.Codec
getCompression()
Compression codec (does not have to be set if not needed)int
getCompressionValue()
Compression codec (does not have to be set if not needed)java.lang.String
getScript()
Script that has to be in JavaScript syntax using NXCALS DataQuery objects that can be executed on the client.com.google.protobuf.ByteString
getScriptBytes()
Script that has to be in JavaScript syntax using NXCALS DataQuery objects that can be executed on the client.int
getWaitTimeMs()
If set to non zero, the call will be accepted by the service even if it has no available resources and will block there waiting for specified time in milliseconds.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getScript
java.lang.String getScript()
Script that has to be in JavaScript syntax using NXCALS DataQuery objects that can be executed on the client.
string script = 1;
- Returns:
- The script.
-
getScriptBytes
com.google.protobuf.ByteString getScriptBytes()
Script that has to be in JavaScript syntax using NXCALS DataQuery objects that can be executed on the client.
string script = 1;
- Returns:
- The bytes for script.
-
getCompressionValue
int getCompressionValue()
Compression codec (does not have to be set if not needed)
.cern.nxcals.api.extraction.thin.AvroQuery.Codec compression = 2;
- Returns:
- The enum numeric value on the wire for compression.
-
getCompression
AvroQuery.Codec getCompression()
Compression codec (does not have to be set if not needed)
.cern.nxcals.api.extraction.thin.AvroQuery.Codec compression = 2;
- Returns:
- The compression.
-
getWaitTimeMs
int getWaitTimeMs()
If set to non zero, the call will be accepted by the service even if it has no available resources and will block there waiting for specified time in milliseconds. If the resources cannot be acquired the server will return UNAVAILABLE status. NOT IMPLEMENTED YET (for future use)
int32 wait_time_ms = 3;
- Returns:
- The waitTimeMs.
-
-