Class NpgsqlRawCopyStream
Provides an API for a raw binary COPY operation, a high-performance data import/export mechanism to
a PostgreSQL table. Initiated by BeginRawBinaryCopy(String)
Inheritance
NpgsqlRawCopyStream
Assembly: Npgsql.dll
Syntax
public sealed class NpgsqlRawCopyStream : Stream, IAsyncDisposable, ICancelable, IDisposable
Properties
|
Improve this Doc
CanRead
Declaration
public override bool CanRead { get; }
Property Value
Overrides
|
Improve this Doc
CanSeek
Declaration
public override bool CanSeek { get; }
Property Value
Overrides
|
Improve this Doc
CanWrite
Declaration
public override bool CanWrite { get; }
Property Value
Overrides
|
Improve this Doc
Length
Declaration
public override long Length { get; }
Property Value
Overrides
|
Improve this Doc
Position
Declaration
public override long Position { get; set; }
Property Value
Overrides
Methods
|
Improve this Doc
Cancel()
Cancels and terminates an ongoing operation. Any data already written will be discarded.
Declaration
|
Improve this Doc
CancelAsync()
Cancels and terminates an ongoing operation. Any data already written will be discarded.
Declaration
public Task CancelAsync()
Returns
|
Improve this Doc
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
Boolean |
disposing |
|
Overrides
|
Improve this Doc
Flush()
Declaration
public override void Flush()
Overrides
|
Improve this Doc
FlushAsync(CancellationToken)
Declaration
public override Task FlushAsync(CancellationToken cancellationToken)
Parameters
Returns
Overrides
|
Improve this Doc
Read(Byte[], Int32, Int32)
Declaration
public override int Read(byte[] buffer, int offset, int count)
Parameters
Returns
Overrides
|
Improve this Doc
ReadAsync(Byte[], Int32, Int32, CancellationToken)
Declaration
public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Parameters
Returns
Overrides
|
Improve this Doc
Seek(Int64, SeekOrigin)
Declaration
public override long Seek(long offset, SeekOrigin origin)
Parameters
Returns
Overrides
|
Improve this Doc
SetLength(Int64)
Declaration
public override void SetLength(long value)
Parameters
Type |
Name |
Description |
Int64 |
value |
|
Overrides
|
Improve this Doc
Write(Byte[], Int32, Int32)
Declaration
public override void Write(byte[] buffer, int offset, int count)
Parameters
Overrides
|
Improve this Doc
WriteAsync(Byte[], Int32, Int32, CancellationToken)
Declaration
public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Parameters
Returns
Overrides
Implements