/// <summary> /// Open a HDFS fileset as an IQueryable{T}. /// </summary> /// <typeparam name="T">The type of the records in the table.</typeparam> /// <param name="dscFileSetName">The name of the HDFS fileset. </param> /// <returns>An IQueryable{T} representing the data and associated with the HPC LINQ query provider.</returns> public IQueryable <T> FromHdfs <T>(string fileSetName) { ThrowIfDisposed(); string fullPath = DataPath.MakeHdfsStreamUri(_hdfsServiceNode, fileSetName); return(DataProvider.GetPartitionedTable <T>(this, fullPath)); }
internal static string MakeUniqueTemporaryHdfsFileSetUri(HpcLinqContext context) { string uri = DataPath.MakeHdfsStreamUri(context.Configuration.HdfsNameNode, MakeUniqueTemporaryDscFileSetName()); return(uri); }