public class SelectionInstruction extends Object
Most users of hrorm will have no need to directly use this.
Modifier and Type | Method and Description |
---|---|
static SelectionInstruction |
forSelectAll(String sql,
String parentColumnName) |
ChildSelectStrategy |
getChildSelectStrategy() |
String |
getParentColumnName() |
String |
getPrimaryKeySql() |
String |
getSelectSql() |
boolean |
isBulkChildSelectStrategy() |
boolean |
isSelectAll() |
static SelectionInstruction |
simpleInstruction(String sql,
ChildSelectStrategy childSelectStrategy) |
String |
toString() |
static SelectionInstruction |
withParentColumnName(String sql,
String parentColumnName,
ChildSelectStrategy childSelectStrategy) |
static SelectionInstruction |
withPrimaryKeySql(String sql,
String primaryKeySql,
ChildSelectStrategy childSelectStrategy) |
static SelectionInstruction |
withPrimaryKeySqlAndParentColumnName(String sql,
String primaryKeySql,
String parentColumnName,
ChildSelectStrategy childSelectStrategy) |
public static SelectionInstruction forSelectAll(String sql, String parentColumnName)
public static SelectionInstruction simpleInstruction(String sql, ChildSelectStrategy childSelectStrategy)
public static SelectionInstruction withPrimaryKeySql(String sql, String primaryKeySql, ChildSelectStrategy childSelectStrategy)
public static SelectionInstruction withParentColumnName(String sql, String parentColumnName, ChildSelectStrategy childSelectStrategy)
public static SelectionInstruction withPrimaryKeySqlAndParentColumnName(String sql, String primaryKeySql, String parentColumnName, ChildSelectStrategy childSelectStrategy)
public String getSelectSql()
public String getPrimaryKeySql()
public ChildSelectStrategy getChildSelectStrategy()
public String getParentColumnName()
public boolean isBulkChildSelectStrategy()
public boolean isSelectAll()
Copyright © 2019. All rights reserved.