Class JsonbHandler
JSONB binary encoding is a simple UTF8 string, but prepended with a version number.
Assembly: Npgsql.dll
Syntax
public class JsonbHandler : TextHandler, INpgsqlTypeHandler<string>, INpgsqlTypeHandler<char[]>, INpgsqlTypeHandler<ArraySegment<char>>, INpgsqlTypeHandler<char>, INpgsqlTypeHandler<byte[]>, ITextReaderHandler
Constructors
|
Improve this Doc
JsonbHandler(NpgsqlConnection)
Declaration
protected JsonbHandler(NpgsqlConnection connection)
Parameters
Methods
|
Improve this Doc
GetTextReader(Stream)
Declaration
public override TextReader GetTextReader(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Returns
Overrides
|
Improve this Doc
Read(NpgsqlReadBuffer, Int32, Boolean, FieldDescription)
Declaration
public override async ValueTask<string> Read(NpgsqlReadBuffer buf, int len, bool async, FieldDescription fieldDescription = null)
Parameters
Returns
Overrides
|
Improve this Doc
ValidateAndGetLength(ArraySegment<Char>, ref NpgsqlLengthCache, NpgsqlParameter)
Declaration
public override int ValidateAndGetLength(ArraySegment<char> value, ref NpgsqlLengthCache lengthCache, NpgsqlParameter parameter)
Parameters
Returns
Overrides
|
Improve this Doc
ValidateAndGetLength(Char[], ref NpgsqlLengthCache, NpgsqlParameter)
Declaration
public override int ValidateAndGetLength(char[] value, ref NpgsqlLengthCache lengthCache, NpgsqlParameter parameter)
Parameters
Returns
Overrides
|
Improve this Doc
ValidateAndGetLength(String, ref NpgsqlLengthCache, NpgsqlParameter)
Declaration
public override int ValidateAndGetLength(string value, ref NpgsqlLengthCache lengthCache, NpgsqlParameter parameter)
Parameters
Returns
Overrides
|
Improve this Doc
Write(ArraySegment<Char>, NpgsqlWriteBuffer, NpgsqlLengthCache, NpgsqlParameter, Boolean)
Declaration
public override async Task Write(ArraySegment<char> value, NpgsqlWriteBuffer buf, NpgsqlLengthCache lengthCache, NpgsqlParameter parameter, bool async)
Parameters
Returns
Overrides
|
Improve this Doc
Write(Char[], NpgsqlWriteBuffer, NpgsqlLengthCache, NpgsqlParameter, Boolean)
Declaration
public override async Task Write(char[] value, NpgsqlWriteBuffer buf, NpgsqlLengthCache lengthCache, NpgsqlParameter parameter, bool async)
Parameters
Returns
Overrides
|
Improve this Doc
Write(String, NpgsqlWriteBuffer, NpgsqlLengthCache, NpgsqlParameter, Boolean)
Declaration
public override async Task Write(string value, NpgsqlWriteBuffer buf, NpgsqlLengthCache lengthCache, NpgsqlParameter parameter, bool async)
Parameters
Returns
Overrides
Implements