thrift

    2熱度

    1回答

    節儉有HTML發生器: (thrift --help) html (HTML): standalone: Self-contained mode, includes all CSS in the HTML files. Generates no style.css file, but HTML files will be larger. 如果寫一個struct這樣 /**

    0熱度

    1回答

    我有問題連接到卡桑德拉與誘變劑/ astyanax。 CassandraMutagen mutagen = new CassandraMutagenImpl(); mutagen.initialize("/mutations"); AstyanaxContext<Keyspace> ctx = new AstyanaxContext.Builder() .fo

    1熱度

    1回答

    我想使用FuncType作爲foo函數的參數類型。節儉支持嗎?如何在FuncType中定義類型? struct FuncType { // std::function<std::vector<std::pair<int, int>>(const std::string &)>; // how to define here? } service WorkerService

    0熱度

    2回答

    我有一些用Thrift(Scrooge)生成的Scala類。現在,我需要以某種方式實例爲那些TBASE類,B/C的TSerializer類需要以此爲輸入 這是我的方法: def createTestBinary(): String = { val proto = new TBinaryProtocol.Factory val err = new ClientError{}

    1熱度

    1回答

    我有一個python服務被thrift調用。我想嘗試TThreadPoolServer而不是TThreadedServer。在我嘗試之後,我發現TThreadPoolServer mod具有較低的CPU速率但較低的速度。我猜想池中的默認最大線程很小。但我不知道如何在thrift python服務器中配置這個參數。有人可以知道嗎?謝謝。

    0熱度

    2回答

    我有一個簡單節儉服務器,在斯卡拉與欺騙來實現: import com.twitter.util.{ Await, Future } import com.jakiku.thriftscala.{ RealTimeDatabasePageImpressions, PageImpressions } import com.twitter.finagle.Thrift im

    0熱度

    1回答

    我想要檢索獲得列天倫之樂:qualifier1,但我得到的行中的所有列「123」 TGet get; TColumn tcolumn; tcolumn.family="family1"; tcolumn.qualifier="qualifier1"; //i want get column family1:qualifier1 get.row = "123"; get.columns.p

    0熱度

    1回答

    有沒有在Java Play Framework中使用Apache Thrift而不使用Finagle-Thrift for Scala的正式方法。我不想使用網絡套接字,但使用常規套接字。

    3熱度

    2回答

    我是新來的節儉,試圖安裝它在我的mac.so我下載了一個新的0.9.3版本,運行./configure。但產量低於: thrift 0.9.3 Building C++ Library ......... : yes Building C (GLib) Library .... : no Building Java Library ........ : yes Building C# L

    2熱度

    1回答

    沒錯,所以我的本地機器上有一個Thrift服務器 - 客戶端系統的完整Python實現。 它工作正常,否則,直到我嘗試從服務器上的一個方法返回一個字符串。 節儉文件 service HelloWorld { void ping(), void sayHello(), i32 sayMsg(1:string msg) } 這是sayMsg這是在return語句失敗