Definition at line 56 of file Locator.h. References Impala::CmdOptions::GetString(), mDataSet, mHost, and mProtocol. 00057 { 00058 mDataSet = dataSet; 00059 00060 String dataServer = options.GetString("dataServer"); 00061 String dataServer2 = options.GetString("dataServer::"+mDataSet, ""); 00062 if (!dataServer2.empty()) 00063 dataServer = dataServer2; 00064 if (!dataServer.empty()) 00065 { 00066 mProtocol = "dataServer"; 00067 mHost = dataServer; 00068 return; 00069 } 00070 00071 String mapi = options.GetString("mapi"); 00072 String mapi2 = options.GetString("mapi::"+mDataSet, ""); 00073 if (!mapi2.empty()) 00074 mapi = mapi2; 00075 if (!mapi.empty()) 00076 { 00077 mProtocol = "mapi"; 00078 mHost = mapi; 00079 return; 00080 } 00081 00082 mProtocol = "file"; 00083 }
Here is the call graph for this function:
|