Class LegacyRecord
public class LegacyRecord : JVMBridgeBase<LegacyRecord>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<LegacyRecord>LegacyRecord
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<LegacyRecord>.IsAssignableFrom(IJavaType)JVMBridgeBase<LegacyRecord>.IsAssignableFrom<T>()JVMBridgeBase<LegacyRecord>.Execute<T>(params T[])JVMBridgeBase<LegacyRecord>.DynBridgeClazzJVMBridgeBase<LegacyRecord>.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
LegacyRecord()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public LegacyRecord()
LegacyRecord(ByteBuffer)
public LegacyRecord(ByteBuffer arg0)
Parameters
arg0
ByteBuffer
LegacyRecord(ByteBuffer, Long, TimestampType)
public LegacyRecord(ByteBuffer arg0, Long arg1, TimestampType arg2)
Parameters
arg0
ByteBufferarg1
Longarg2
TimestampType
LegacyRecord(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 LegacyRecord(params object[] args)
Parameters
args
object[]
Properties
ATTRIBUTES_LENGTH
public static int ATTRIBUTES_LENGTH { get; }
Property Value
ATTRIBUTES_OFFSET
public static int ATTRIBUTES_OFFSET { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CRC_LENGTH
public static int CRC_LENGTH { get; }
Property Value
CRC_OFFSET
public static int CRC_OFFSET { get; }
Property Value
HEADER_SIZE_V0
public static int HEADER_SIZE_V0 { get; }
Property Value
HEADER_SIZE_V1
public static int HEADER_SIZE_V1 { 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
KEY_OFFSET_V0
public static int KEY_OFFSET_V0 { get; }
Property Value
KEY_OFFSET_V1
public static int KEY_OFFSET_V1 { get; }
Property Value
KEY_SIZE_LENGTH
public static int KEY_SIZE_LENGTH { get; }
Property Value
KEY_SIZE_OFFSET_V0
public static int KEY_SIZE_OFFSET_V0 { get; }
Property Value
KEY_SIZE_OFFSET_V1
public static int KEY_SIZE_OFFSET_V1 { get; }
Property Value
MAGIC_LENGTH
public static int MAGIC_LENGTH { get; }
Property Value
MAGIC_OFFSET
public static int MAGIC_OFFSET { get; }
Property Value
NO_TIMESTAMP
public static long NO_TIMESTAMP { get; }
Property Value
RECORD_OVERHEAD_V0
public static int RECORD_OVERHEAD_V0 { get; }
Property Value
RECORD_OVERHEAD_V1
public static int RECORD_OVERHEAD_V1 { get; }
Property Value
TIMESTAMP_LENGTH
public static int TIMESTAMP_LENGTH { get; }
Property Value
TIMESTAMP_OFFSET
public static int TIMESTAMP_OFFSET { get; }
Property Value
VALUE_SIZE_LENGTH
public static int VALUE_SIZE_LENGTH { get; }
Property Value
Methods
Attributes()
public byte Attributes()
Returns
Buffer()
public ByteBuffer Buffer()
Returns
Checksum()
public long Checksum()
Returns
CompressionType()
public CompressionType CompressionType()
Returns
ComputeAttributes(byte, CompressionType, TimestampType)
public static byte ComputeAttributes(byte arg0, CompressionType arg1, TimestampType arg2)
Parameters
arg0
bytearg1
CompressionTypearg2
TimestampType
Returns
ComputeChecksum()
public long ComputeChecksum()
Returns
ComputeChecksum(byte, byte, long, byte[], byte[])
public static long ComputeChecksum(byte arg0, byte arg1, long arg2, byte[] arg3, byte[] arg4)
Parameters
Returns
Create(byte, long, byte[], byte[])
public static LegacyRecord Create(byte arg0, long arg1, byte[] arg2, byte[] arg3)
Parameters
Returns
Create(byte, long, byte[], byte[], CompressionType, TimestampType)
public static LegacyRecord Create(byte arg0, long arg1, byte[] arg2, byte[] arg3, CompressionType arg4, TimestampType arg5)
Parameters
arg0
bytearg1
longarg2
byte[]arg3
byte[]arg4
CompressionTypearg5
TimestampType
Returns
EnsureValid()
public void EnsureValid()
HasKey()
public bool HasKey()
Returns
HasNullValue()
public bool HasNullValue()
Returns
IsValid()
public bool IsValid()
Returns
Key()
public ByteBuffer Key()
Returns
KeySize()
public int KeySize()
Returns
Magic()
public byte Magic()
Returns
RecordSize(byte, int, int)
public static int RecordSize(byte arg0, int arg1, int arg2)
Parameters
Returns
SizeInBytes()
public int SizeInBytes()
Returns
Timestamp()
public long Timestamp()
Returns
TimestampType()
public TimestampType TimestampType()
Returns
TimestampType(byte, TimestampType, byte)
public static TimestampType TimestampType(byte arg0, TimestampType arg1, byte arg2)
Parameters
arg0
bytearg1
TimestampTypearg2
byte
Returns
Value()
public ByteBuffer Value()
Returns
ValueSize()
public int ValueSize()
Returns
Write(DataOutputStream, byte, long, ByteBuffer, ByteBuffer, CompressionType, TimestampType)
public static long Write(DataOutputStream arg0, byte arg1, long arg2, ByteBuffer arg3, ByteBuffer arg4, CompressionType arg5, TimestampType arg6)
Parameters
arg0
DataOutputStreamarg1
bytearg2
longarg3
ByteBufferarg4
ByteBufferarg5
CompressionTypearg6
TimestampType
Returns
Exceptions
Write(DataOutputStream, byte, long, byte, long, byte[], byte[])
public static void Write(DataOutputStream arg0, byte arg1, long arg2, byte arg3, long arg4, byte[] arg5, byte[] arg6)
Parameters
Exceptions
Write(DataOutputStream, byte, long, byte[], byte[], CompressionType, TimestampType)
public static long Write(DataOutputStream arg0, byte arg1, long arg2, byte[] arg3, byte[] arg4, CompressionType arg5, TimestampType arg6)
Parameters
arg0
DataOutputStreamarg1
bytearg2
longarg3
byte[]arg4
byte[]arg5
CompressionTypearg6
TimestampType
Returns
Exceptions
WriteCompressedRecordHeader(ByteBuffer, byte, int, long, CompressionType, TimestampType)
public static void WriteCompressedRecordHeader(ByteBuffer arg0, byte arg1, int arg2, long arg3, CompressionType arg4, TimestampType arg5)
Parameters
arg0
ByteBufferarg1
bytearg2
intarg3
longarg4
CompressionTypearg5
TimestampType