public class EchoSqls extends Object
| Constructor and Description |
|---|
EchoSqls() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getSqlCreateTableForMessage(com.google.protobuf.Message message) |
static String |
getSqlReplaceIntoForMessage(com.google.protobuf.Message message) |
static String |
getSqlSelectFieldsForMessage(com.google.protobuf.Message message,
List<String> fields)
Generates a SQL 'select' statement to read the given fields from the table which
is a data source for the message.
|
public static String getSqlSelectFieldsForMessage(com.google.protobuf.Message message, List<String> fields)
public static String getSqlCreateTableForMessage(com.google.protobuf.Message message)
public static String getSqlReplaceIntoForMessage(com.google.protobuf.Message message)
Copyright © 2015. All rights reserved.