Kinetica C# API
Version 7.2.3.0
DataBlock.cs
Go to the documentation of this file.
1
18
using
System.IO;
19
using
Avro
.
IO
;
20
using
Avro
.
Generic
;
21
using
System.Collections.Generic;
22
23
namespace
Avro.File
24
{
25
public
class
DataBlock
26
{
27
public
byte
[]
Data
{
get
;
set
; }
28
public
long
NumberOfEntries
{
get
;
set
; }
29
public
long
BlockSize
{
get
;
set
; }
30
31
public
DataBlock
(
long
numberOfEntries,
long
blockSize)
32
{
33
this.
NumberOfEntries
= numberOfEntries;
34
this.
BlockSize
= blockSize;
35
this.
Data
=
new
byte
[blockSize];
36
}
37
38
internal
Stream GetDataAsStream()
39
{
40
return
new
MemoryStream(
Data
);
41
}
42
}
43
}
Avro.IO
Definition:
BinaryDecoder.cs:22
Avro.File
Definition:
Codec.cs:24
Avro.File.DataBlock.BlockSize
long BlockSize
Definition:
DataBlock.cs:29
Avro
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition:
AvroRuntimeException.cs:23
Avro.File.DataBlock
Definition:
DataBlock.cs:25
Avro.File.DataBlock.DataBlock
DataBlock(long numberOfEntries, long blockSize)
Definition:
DataBlock.cs:31
Avro.File.DataBlock.Data
byte [] Data
Definition:
DataBlock.cs:27
Avro.Generic
Definition:
DatumReader.cs:22
Avro.File.DataBlock.NumberOfEntries
long NumberOfEntries
Definition:
DataBlock.cs:28
_build
public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0
install
Avro
src
apache
main
File
DataBlock.cs
Generated by
1.8.15