@hpcc-js/comms
Version:
hpcc-js - Communications
104 lines • 2.99 kB
TypeScript
import { IConnection, IOptions } from "../connection";
export declare namespace DFUQuery {
interface Request {
Prefix?: string;
NodeGroup?: string;
ContentType?: string;
LogicalName?: string;
Description?: string;
Owner?: string;
StartDate?: string;
EndDate?: string;
FileType?: string;
FileSizeFrom?: number;
FileSizeTo?: number;
FirstN?: number;
PageSize?: number;
PageStartFrom?: number;
Sortby?: string;
Descending?: boolean;
OneLevelDirFileReturn?: boolean;
CacheHint?: number;
MaxNumberOfFiles?: number;
IncludeSuperOwner?: boolean;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface DFULogicalFile {
Prefix: string;
ClusterName: string;
NodeGroup: string;
Directory: string;
Description: string;
Parts: string;
Name: string;
Owner: string;
Totalsize: string;
RecordCount: string;
Modified: string;
LongSize: string;
LongRecordCount: string;
isSuperfile: boolean;
isZipfile: boolean;
isDirectory: boolean;
Replicate: boolean;
IntSize: number;
IntRecordCount: number;
FromRoxieCluster: boolean;
BrowseData: boolean;
IsKeyFile: boolean;
IsCompressed: boolean;
ContentType: string;
CompressedFileSize: number;
SuperOwners: string;
Persistent: boolean;
IsProtected: boolean;
}
interface DFULogicalFiles {
DFULogicalFile: DFULogicalFile[];
}
interface Response {
Exceptions: Exceptions;
DFULogicalFiles: DFULogicalFiles;
Prefix: string;
NodeGroup: string;
LogicalName: string;
Description: string;
Owner: string;
StartDate: string;
EndDate: string;
FileType: string;
FileSizeFrom: number;
FileSizeTo: number;
FirstN: number;
PageSize: number;
PageStartFrom: number;
LastPageFrom: number;
PageEndAt: number;
PrevPageFrom: number;
NextPageFrom: number;
NumFiles: number;
Sortby: string;
Descending: boolean;
BasicQuery: string;
ParametersForPaging: string;
Filters: string;
CacheHint: number;
IsSubsetOfFiles: boolean;
Warning: string;
}
}
export declare class DFUService {
private _connection;
constructor(optsConnection: IOptions | IConnection);
DFUQuery(request: DFUQuery.Request): Promise<DFUQuery.Response>;
}
//# sourceMappingURL=wsDFU.d.ts.map