Beispiel #1
0
        public override async ValueTask <ArrayBase> CreateArrayAsync(long handle, string tableName, string fieldName, CancellationToken cancellationToken = default)
        {
            var array = new FesArray(_db, _transaction, handle, tableName, fieldName);
            await array.InitializeAsync(cancellationToken).ConfigureAwait(false);

            return(array);
        }
Beispiel #2
0
        public override ArrayBase CreateArray(long handle, string tableName, string fieldName)
        {
            var array = new FesArray(_db, _transaction, handle, tableName, fieldName);

            array.Initialize();
            return(array);
        }
        public override async Task <ArrayBase> CreateArray(long handle, string tableName, string fieldName, AsyncWrappingCommonArgs async)
        {
            var array = new FesArray(_db, _transaction, handle, tableName, fieldName);
            await array.Initialize(async).ConfigureAwait(false);

            return(array);
        }
Beispiel #4
0
        public override ValueTask <ArrayBase> CreateArrayAsync(ArrayDesc descriptor, CancellationToken cancellationToken = default)
        {
            var array = new FesArray(descriptor);

            return(ValueTask2.FromResult <ArrayBase>(array));
        }
Beispiel #5
0
        public override ArrayBase CreateArray(ArrayDesc descriptor)
        {
            var array = new FesArray(descriptor);

            return(array);
        }
        public override Task <ArrayBase> CreateArray(ArrayDesc descriptor, AsyncWrappingCommonArgs async)
        {
            var array = new FesArray(descriptor);

            return(Task.FromResult((ArrayBase)array));
        }