Class Batch<T>
public class Batch<T> : Iterable<T>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<T>, IEnumerable, IAsyncEnumerable<T>, IIterable<T>
Type Parameters
T
- Inheritance
-
JVMBridgeBaseEnumerable<Iterable<T>, T>JNetAsyncEnumerable<Iterable<T>, T>Iterable<T>Batch<T>
- Implements
-
IEnumerable<T>IIterable<T>
- Inherited Members
-
JVMBridgeBase<Iterable<T>>.SExecuteWithSignatureArray<T>(IJavaType, string, string, params object[])
Constructors
Batch()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Batch()
Batch(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
public Batch(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
AppendTimestamp()
public long AppendTimestamp()
Returns
BaseOffset()
public long BaseOffset()
Returns
Control(long, int, long, int, List<ControlRecord>)
public static Batch<T> Control(long arg0, int arg1, long arg2, int arg3, List<ControlRecord> arg4)
Parameters
Returns
ControlRecords()
public List<ControlRecord> ControlRecords()
Returns
Data(long, int, long, int, List<T>)
public static Batch<T> Data(long arg0, int arg1, long arg2, int arg3, List<T> arg4)
Parameters
Returns
Epoch()
public int Epoch()
Returns
Iterator()
public Iterator<T> Iterator()
Returns
LastOffset()
public long LastOffset()
Returns
Records()
public List<T> Records()
Returns
SizeInBytes()
public int SizeInBytes()
Returns
Operators
implicit operator Batch(Batch<T>)
public static implicit operator Batch(Batch<T> t)
Parameters
t
Batch<T>