我正在研究用於Pig的JsonStorage。一切正常,但至少我需要從豬模式中獲取字段的名稱(即crdate,名稱,位置)。從Pig獲取字段架構的名稱
| A | crdate: bytearray | name: bytearray | positions: bytearray |
其實我通過StoreFunc擴展我的類,它沒有提供函數來獲取字段的名稱。
public class PigJsonStorage extends StoreFunc { .. }
任何人可以幫助我:)
完全正確。 – SquareCog 2010-12-25 20:08:41
它的工作原理!謝謝你! – Christoph 2011-01-11 09:49:44