Class QueryResult<R>
public class QueryResult<R> : JVMBridgeBase<QueryResult<R>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IQueryResult<R>
Type Parameters
R
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<QueryResult<R>>QueryResult<R>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinitionIQueryResult<R>
- Inherited Members
-
JVMBridgeBase<QueryResult<R>>.IsAssignableFrom(IJavaType)JVMBridgeBase<QueryResult<R>>.IsAssignableFrom<T>()JVMBridgeBase<QueryResult<R>>.Execute<T>(params T[])JVMBridgeBase<QueryResult<R>>.DynBridgeClazzJVMBridgeBase<QueryResult<R>>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
Constructors
QueryResult()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("QueryResult class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public QueryResult()
QueryResult(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("QueryResult class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public QueryResult(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ExecutionInfo
public List<String> ExecutionInfo { get; }
Property Value
FailureMessage
public String FailureMessage { get; }
Property Value
FailureReason
public FailureReason FailureReason { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Position
https://www.javadoc.io/doc/org.apache.kafka/kafka-streams/3.9.0/org/apache/kafka/streams/query/QueryResult.html#getPosition-- https://www.javadoc.io/doc/org.apache.kafka/kafka-streams/3.9.0/org/apache/kafka/streams/query/QueryResult.html#setPosition-org.apache.kafka.streams.query.Position-
public Position Position { get; set; }
Property Value
Result
public R Result { get; }
Property Value
- R
Methods
AddExecutionInfo(String)
public void AddExecutionInfo(String arg0)
Parameters
ForFailure(FailureReason, String)
public static QueryResult<R> ForFailure(FailureReason arg0, String arg1)
Parameters
arg0
FailureReasonarg1
String
Returns
ForResult(R)
public static QueryResult<R> ForResult(R arg0)
Parameters
arg0
RR
Returns
ForUnknownQueryType(Query<R>, StateStore)
public static QueryResult<R> ForUnknownQueryType(Query<R> arg0, StateStore arg1)
Parameters
arg0
Query<R>arg1
StateStore
Returns
IsFailure()
public bool IsFailure()
Returns
IsSuccess()
public bool IsSuccess()
Returns
NotUpToBound(Position, PositionBound, Integer)
public static QueryResult<R> NotUpToBound(Position arg0, PositionBound arg1, Integer arg2)
Parameters
arg0
Positionarg1
PositionBoundarg2
Integer
Returns
Operators
implicit operator QueryResult(QueryResult<R>)
Converter from QueryResult<R> to QueryResult
public static implicit operator QueryResult(QueryResult<R> t)
Parameters
t
QueryResult<R>