Exemple #1
0
 public static String attributeNameWithVariable(VariablePathExpression attributePath) {
   return RELATION_ALIAS_PREFIX
       + attributePath.getStartingVariable().toShortString()
       + "."
       + attributePath.getLastStep();
 }
Exemple #2
0
 private static String extractAttributeNameFromExpression(VariablePathExpression attributePath) {
   String variableName = attributePath.getStartingVariable().toShortString();
   String lastStep = attributePath.getLastStep();
   return GenerateSQL.RELATION_ALIAS_PREFIX + variableName + "." + lastStep;
 }
Exemple #3
0
 public static String attributeNameInVariable(VariablePathExpression attributePath) {
   return attributePath.getStartingVariable().toShortString() + attributePath.getLastStep();
 }