Apache.Hadoop.Thriftfs.Api.ThriftHadoopFileSystem.Client.recv_getFileBlockLocations C# (CSharp) Méthode

recv_getFileBlockLocations() public méthode

public recv_getFileBlockLocations ( ) : List
Résultat List
            public List<BlockLocation> recv_getFileBlockLocations()
            {
                TMessage msg = iprot_.ReadMessageBegin();
                if (msg.Type == TMessageType.Exception) {
                  TApplicationException x = TApplicationException.Read(iprot_);
                  iprot_.ReadMessageEnd();
                  throw x;
                }
                getFileBlockLocations_result result = new getFileBlockLocations_result();
                result.Read(iprot_);
                iprot_.ReadMessageEnd();
                if (result.__isset.success) {
                  return result.Success;
                }
                if (result.__isset.ouch) {
                  throw result.Ouch;
                }
                throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getFileBlockLocations failed: unknown result");
            }