@Namespace(value="arrow") @NoOffset @Properties(inherit=arrow.class) public class KeyValueMetadata extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
KeyValueMetadata() |
KeyValueMetadata(long size)
Native array allocator.
|
KeyValueMetadata(Pointer p)
Pointer cast constructor.
|
KeyValueMetadata(StringStringMap map) |
KeyValueMetadata(StringVector keys,
StringVector values) |
| Modifier and Type | Method and Description |
|---|---|
void |
Append(BytePointer key,
BytePointer value) |
void |
Append(String key,
String value) |
KeyValueMetadata |
Copy() |
boolean |
Equals(KeyValueMetadata other) |
int |
FindKey(BytePointer key) |
int |
FindKey(String key)
\brief Perform linear search for key, returning -1 if not found
|
String |
key(long i) |
KeyValueMetadata |
position(long position) |
void |
reserve(long n) |
long |
size() |
StringStringPairVector |
sorted_pairs() |
String |
ToString() |
void |
ToUnorderedMap(StringStringMap out) |
String |
value(long i) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic KeyValueMetadata(Pointer p)
Pointer.Pointer(Pointer).public KeyValueMetadata(long size)
Pointer.position(long).public KeyValueMetadata()
public KeyValueMetadata(@Const @ByRef StringVector keys, @Const @ByRef StringVector values)
public KeyValueMetadata(@Const @ByRef StringStringMap map)
public KeyValueMetadata position(long position)
public void ToUnorderedMap(StringStringMap out)
public void Append(@StdString String key, @StdString String value)
public void Append(@StdString BytePointer key, @StdString BytePointer value)
@StdString public String key(@Cast(value="int64_t") long i)
@StdString public String value(@Cast(value="int64_t") long i)
@ByVal public StringStringPairVector sorted_pairs()
public int FindKey(@StdString String key)
public int FindKey(@StdString BytePointer key)
@SharedPtr public KeyValueMetadata Copy()
@Cast(value="bool") public boolean Equals(@Const @ByRef KeyValueMetadata other)
@StdString public String ToString()
Copyright © 2020. All rights reserved.