Package org.teiid.query.function
Class JSONFunctionMethods.JSONBuilder
- java.lang.Object
-
- org.teiid.query.function.JSONFunctionMethods.JSONBuilder
-
- Enclosing class:
- JSONFunctionMethods
public static class JSONFunctionMethods.JSONBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description JSONBuilder(BufferManager bm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(Object object)
void
addValue(String key, Object object)
JsonType
close(CommandContext cc)
void
end(boolean array)
Writer
getWriter()
void
remove()
void
start(boolean array)
void
startValue(String key)
-
-
-
Constructor Detail
-
JSONBuilder
public JSONBuilder(BufferManager bm)
-
-
Method Detail
-
start
public void start(boolean array) throws TeiidProcessingException
- Throws:
TeiidProcessingException
-
addValue
public void addValue(Object object) throws TeiidProcessingException
- Throws:
TeiidProcessingException
-
addValue
public void addValue(String key, Object object) throws TeiidProcessingException
- Throws:
TeiidProcessingException
-
startValue
public void startValue(String key) throws TeiidProcessingException
- Throws:
TeiidProcessingException
-
getWriter
public Writer getWriter()
-
close
public JsonType close(CommandContext cc) throws TeiidProcessingException
- Throws:
TeiidProcessingException
-
remove
public void remove()
-
end
public void end(boolean array) throws TeiidProcessingException
- Throws:
TeiidProcessingException
-
-