code: static Partition createListPartition(SqlgGraph sqlgGraph, AbstractLabel abstractLabel, String name, String in) {
          Preconditions.checkArgument(!abstractLabel.getSchema().isSqlgSchema(), "createListPartition may not be called for \"%s\"", Topology.SQLG_SCHEMA);
          Partition partition = new Partition(sqlgGraph, abstractLabel, name, in, PartitionType.NONE, null);
          partition.createListPartitionOnDb();
          if (abstractLabel instanceof VertexLabel) {
              TopologyManager.addVertexLabelPartition(
                      sqlgGraph,
                      abstractLabel.getSchema().getName(),
                      abstractLabel.getName(),
                      name,
                      in,
                      PartitionType.NONE,
                      null);
          } else {
              TopologyManager.addEdgeLabelPartition(sqlgGraph, abstractLabel, name, in, PartitionType.NONE, null);
          }
          partition.committed = false;
          return partition;
      }
docs: Create a list partition on an {@link AbstractLabel}
  
  @param sqlgGraph
  @param abstractLabel
  @param name
  @param in
  @return