Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コンストラクターを使用せずに Hadoop で String オブジェクトを Text オブジェクトに変換するにはどうすればよいですか? 利用可能な Text to String メソッドがありますが、String to Text メソッドが見つかりませんでした。
Text text = new Text("your-string");
また
Text text = new Text(); text.set("your-string");
テキスト クラス コンストラクターには、この規定があります。ここをクリックしてください。
Text.set(String)メソッドを使用できます。