MCPcopy Create free account
hub / github.com/PDAL/PDAL / addArgs

Method addArgs

plugins/pgpointcloud/io/PgWriter.cpp:87–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86
87void PgWriter::addArgs(ProgramArgs& args)
88{
89 DbWriter::doAddArgs(args);
90 args.add("connection", "Connection string", m_connection).setPositional();
91 args.add("table", "Table name", m_table_name);
92 args.add("column", "Column name", m_column_name, "pa");
93 args.add("schema", "Schema name", m_schema_name);
94 args.add("compression", "Compression type", m_compressionSpec,
95 "dimensional");
96 args.add("overwrite", "Whether data should be overwritten", m_overwrite);
97 args.add("srid", "SRID", m_srid, 4326U);
98 args.add("pcid", "PCID", m_pcid);
99 args.add("pre_sql", "SQL to execute before query", m_pre_sql);
100 args.add("post_sql", "SQL to execute after query", m_post_sql);
101}
102
103
104void PgWriter::initialize()

Callers

nothing calls this directly

Calls 2

doAddArgsFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected