-
Notifications
You must be signed in to change notification settings - Fork 0
/
ParquetStorageSetup.cs
43 lines (37 loc) · 1.33 KB
/
ParquetStorageSetup.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System.IO;
using TeleScope.Persistence.Abstractions;
using TeleScope.Persistence.Abstractions.Enumerations;
namespace TeleScope.Persistence.Parquet
{
/// <summary>
/// This storage setup extends <seealso cref="FileSetupBase"/>
/// to specify parameters for an access to Parquet files.
/// </summary>
public class ParquetStorageSetup : FileSetupBase
{
// -- properties
// -- constructors
/// <summary>
/// The constructor calls the according base class constructor and
/// leaves the default settings of the property.
/// </summary>
/// <param name="file">The file represented as string, the storage is attached to.</param>
/// <param name="permissions">The permission flag to access the file.</param>
public ParquetStorageSetup(string file,
WritePermissions permissions = WritePermissions.Create)
: base(file, permissions)
{
}
/// <summary>
/// The constructor calls the according base class constructor and
/// leaves the default settings of the property.
/// </summary>
/// <param name="fileInfo">The file information, the storage is attached to.</param>
/// <param name="permissions">The permission flag to access the file.</param>
public ParquetStorageSetup(FileInfo fileInfo,
WritePermissions permissions = WritePermissions.Create)
: base(fileInfo, permissions)
{
}
}
}